第一步:
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 ]