代码: 全选
bobby@ubuntu:~$ sudo /usr/local/mysql/bin/mysqld_safe -user=mysql &
[1] 6709
bobby@ubuntu:~$ Starting mysqld daemon with databases from /usr/local/mysql/data
STOPPING server from pid file /usr/local/mysql/data/ubuntu.pid
070328 01:37:07 mysqld ended
代码: 全选
070328 01:28:09 mysqld started
070328 1:28:09 [Warning] Ignoring user change to 'ser=mysql' because the user was set to 'mysql' earlier on the command line
070328 1:28:09 MyISAM: Operating system error number 13 in a file operation.
MyISAM: The error means mysqld does not have the access rights to
MyISAM: the directory.
MyISAM: File name ./ibdata1
MyISAM: File operation call: 'create'.
MyISAM: Cannot continue operation.
070328 01:28:09 mysqld ended
070328 01:37:07 mysqld started
070328 1:37:07 [Warning] Ignoring user change to 'ser=mysql' because the user was set to 'mysql' earlier on the command line
/usr/local/mysql/libexec/mysqld: File './mysql-bin.index' not found (Errcode: 13)
070328 1:37:07 [ERROR] Aborting
070328 1:37:07 [Note] /usr/local/mysql/libexec/mysqld: Shutdown complete
070328 01:37:07 mysqld ended