mysql启动报错:
/etc/init.d/mysql: line : my_print_defaults: command not found
/etc/init.d/mysql: line : my_print_defaults: command not found
/etc/init.d/mysql: line : @[email protected]: command not found
/etc/init.d/mysql: line : @[email protected]: command not found
Starting MySQLCouldn't find MySQL manager (@[email protected]/mysqlmanager) or server (@[email protected]/mysqld_safe)
解决方案:
由于MySQL是使用源代码安装的。
因为,错误提示:Starting MySQL Couldn't find MySQL manager or server(@[email protected]/mysqld_safe)
这样,你启动的时候,使用如下命令:
cd <your MySQL install PATH>
cd bin
./mysqld_safe --user=mysql& #注意前面有个点