/etc/init.d/mysqld:line 260:my_print_defaults:command not found
或
mysql manager or server PID file could not be found!
解决办法:
# vi /etc/my.cnf (指明basedir和datadir路径即可)
basedir=/usr/local/mysql
datadir=/usr/local/mysql/data
:wq
本文转自linux博客51CTO博客,原文链接http://blog.51cto.com/yangzhiming/836045如需转载请自行联系原作者
yangzhimingg