求解:Ubuntu下启动Mysql的疑惑?
root@rolyer-desktop:~# ps -ef|grep mysqlroot 1490 1452 0 13:37 pts/0 00:00:00 grep --color=auto mysqlroot@rolyer-desktop:~# /usr/tools/mysql/bin/mysqld_safe --user=root100812 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/mysqlddoes not exist or is not executable. Please cd to the mysql installationdirectory and restart this script from there as follows:./bin/mysqld_safe&See http://dev.mysql.com/doc/mysql/en/mysqld-safe.html for more informationroot@rolyer-desktop:~# ps -ef|grep mysqlroot 1567 1452 0 13:38 pts/0 00:00:00 grep --color=auto mysqlroot@rolyer-desktop:~# cd /usr/tools/mysql/root@rolyer-desktop:/usr/tools/mysql# ./bin/mysqld_safe --user=root100812 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
?