編譯安裝的mysql啓動出現報錯:
Starting MySQL. ERROR! The server quit without updating PID file (/data/mysql/fxq-1.pid).
分析原因:
非正常關機導致:
解決辦法:
vim /etc/my.cnf
加入一行:
innodb_force_recovery= 1
Starting MySQL. ERROR! The server quit without updating PID file (/data/mysql/fxq-1.pid).
非正常關機導致:
vim /etc/my.cnf
加入一行:
innodb_force_recovery= 1