What & How & Why

差别

这里会显示出您选择的修订版和当前版本之间的差别。

到此差别页面的链接

两侧同时换到之前的修订记录前一修订版
后一修订版
前一修订版
other:server:mysql:error:restarterror [2015/05/31 04:11] haregyother:server:mysql:error:restarterror [2018/09/24 15:30] (当前版本) – 外部编辑 127.0.0.1
行 1: 行 1:
-<wrap hi>+====== Restart Error ====== 
 + 
 +---- 
 +====Where & when ==== 
 +This error took place after the maintenance was performed on my mother server. At first my website showed it lost connection from my database. I was just trying to restart my mysql. Then I had the following error. 
 +====Error Information==== 
 + 
 +<code> 
 [mysql-generic-5.5.40 restart] [mysql-generic-5.5.40 restart]
 ============================================================= =============================================================
 mysql-generic-5.5.40 mysql-generic-5.5.40
 [OK] mysql-generic-5.5.40 is already installed. [OK] mysql-generic-5.5.40 is already installed.
- ERROR! MySQL server PID file could not be found!+ERROR! MySQL server PID file could not be found!
 Starting MySQL. ERROR! The server quit without updating PID file (/home/usrdata/mysql-generic-5.5.40/mysql.pid). Starting MySQL. ERROR! The server quit without updating PID file (/home/usrdata/mysql-generic-5.5.40/mysql.pid).
-</wrap>+ 
 +</code> 
 +====How to solve==== 
 +<code> 
 +cd /etc 
 +rm my.cnf 
 +amh mysql restart 
 +</code> 
 +====conclusion==== 
 +This error occurred because the mother server generated a my.cnf file after the maintenance. The file is incompatible with the my.cnf file which specified from AMH.