第一步:
mysql5.1.30 初次啟動會出現Manager of pid-file quit without updating fi[FAILED]的報錯,需要注釋/etc/my.cnf里的skip-federated注釋掉即#skip-federated就OK了!
但還不好用。錯誤依舊。
第二步:
殺掉已經啟動的進程
CODE:
[root@localhost mysql]# ps -A|grep mysql
8016 pts/2 00:00:00 mysqld_safe
8037 pts/2 00:00:00 mysqld
果然有兩個頑固分子
殺之!!!
kill -9 8037(殺掉這個8016那個就自動被殺了!)
kill -9 8016
開心的時刻終於到來了
CODE:
[root@localhost mysql]# /etc/init.d/mysql restart
MySQL manager or server PID file could not be found! [FAILED]
Starting MySQL [ OK ]
