Mysql啟動錯誤-server PID file could not be found

Michael_DD發表於2014-10-17

Mysql啟動錯誤-server PID file could not be found



錯誤一般都是發生在my.cnf配置檔案:

在centos5.2下安裝5.1.30的時候出現如下mysql錯 誤 MySQL manager orserverPIDfilecould not befound![FAILED] Starting MySQL.Manager of pid-file quit without updating file.[FAILED]mysql 檢視錯誤日誌 預設的mysql錯誤日誌是在/usr/local/mysql/data 下

在centos5.2下安裝5.1.30的時候出現如下mysql錯誤
MySQL manager orserverPIDfilecould not befound![FAILED]
Starting MySQL.Manager of pid-file quit without updating file.[FAILED]mysql
檢視錯誤日誌
預設的mysql錯誤日誌是在/usr/local/mysql/data 下面 more ****.err 有下面的資訊
090302 02:27:26 mysqld_safe mysqld from pid file /opt/mysql/web2.pid ended
090302 02:30:03 mysqld_safe Starting mysqld daemon with databases from /opt/mysql
090302 2:30:03 [ERROR] /usr/local/mysql/libexec/mysqld: unknown option'--skip-federated'
090302 2:30:03 [ERROR] Aborting
解決方法
只要將/etc/my.cnf裡面的 skip federated註釋掉即可。


來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/29500582/viewspace-1301654/,如需轉載,請註明出處,否則將追究法律責任。

相關文章