本 Wiki 开启了 HTTPS。但由于同 IP 的 Blog 也开启了 HTTPS,因此本站必须要支持 SNI 的浏览器才能浏览。为了兼容一部分浏览器,本站保留了 HTTP 作为兼容。如果您的浏览器支持 SNI,请尽量通过 HTTPS 访问本站,谢谢!
这里会显示出您选择的修订版和当前版本之间的差别。
后一修订版 | 前一修订版 | ||
other:server:mysql:error:restarterror [2015/05/31 04:09] – created haregy | other:server:mysql:error:restarterror [2018/09/24 15:30] (当前版本) – 外部编辑 127.0.0.1 | ||
---|---|---|---|
行 1: | 行 1: | ||
+ | ====== 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==== | ||
+ | |||
+ | < | ||
[mysql-generic-5.5.40 restart] | [mysql-generic-5.5.40 restart] | ||
行 4: | 行 12: | ||
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 (/ | Starting MySQL. ERROR! The server quit without updating PID file (/ | ||
+ | </ | ||
+ | ====How to solve==== | ||
+ | < | ||
+ | cd /etc | ||
+ | rm my.cnf | ||
+ | amh mysql restart | ||
+ | </ | ||
+ | ====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. |