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& #注意前面有個點