求解:Ubuntu上启动Mysql的疑惑

求解:Ubuntu下启动Mysql的疑惑?

root@rolyer-desktop:~# ps -ef|grep mysql
root      1490  1452  0 13:37 pts/0    00:00:00 grep --color=auto mysql
root@rolyer-desktop:~# /usr/tools/mysql/bin/mysqld_safe --user=root
100812 13:38:05 mysqld_safe Logging to '/usr/data/mysql/rolyer-desktop.err'.
100812 13:38:05 mysqld_safe The file /usr/local/mysql/bin/mysqld
does not exist or is not executable. Please cd to the mysql installation
directory and restart this script from there as follows:
./bin/mysqld_safe&
See http://dev.mysql.com/doc/mysql/en/mysqld-safe.html for more information
root@rolyer-desktop:~# ps -ef|grep mysql
root      1567  1452  0 13:38 pts/0    00:00:00 grep --color=auto mysql
root@rolyer-desktop:~# cd /usr/tools/mysql/
root@rolyer-desktop:/usr/tools/mysql# ./bin/mysqld_safe --user=root
100812 13:39:07 mysqld_safe Logging to '/usr/data/mysql/rolyer-desktop.err'.
100812 13:39:07 mysqld_safe Starting mysqld daemon with databases from /usr/data/mysql

?

以上命令中/usr/tools/mysql/bin/mysqld_safe –user=root和./bin/mysqld_safe –user=root有什么区别?
为什么前者不能启动mysql,而后者可以?求高人赐教!

?

我的博客:http://rolyers.appspot.com/?p=76001

?

求解:Ubuntu上启动Mysql的疑惑

相关文章:

你感兴趣的文章:

标签云: