|
/etc/rc.d/init.d/mysql这里我已经将原来的
datadir=/var/lib/mysql
改了: datadir=/software/data/mysql
而且我还把mysql里的所有文件都剪切到software/data 下了啊
[root@lixiaolong ~]# /usr/bin/mysqld_safe --user=root
touch: cannot touch `/var/lib/mysql/lixiaolong.err': No such file or directory
chown: cannot access `/var/lib/mysql/lixiaolong.err': No such file or directory
Starting mysqld daemon with databases from /var/lib/mysql
/usr/bin/mysqld_safe: line 380: /var/lib/mysql/lixiaolong.err: No such file or directory
/usr/bin/mysqld_safe: line 388: /var/lib/mysql/lixiaolong.err: No such file or directory
STOPPING server from pid file /var/lib/mysql/lixiaolong.pid
tee: /var/lib/mysql/lixiaolong.err: No such file or directory
080115 22:05:46 mysqld ended
tee: /var/lib/mysql/lixiaolong.err: No such file or directory
怎么会这样呢,没天理啊!
对了, 我的这个software是sda2,这没关系吧! |
|