编译安装的mysql启动出现报错:
Starting MySQL. ERROR! The server quit without updating PID file (/data/mysql/fxq-1.pid).
分析原因:
非正常关机导致:
解决办法:
vim /etc/my.cnf
加入一行:
innodb_force_recovery= 1
转载于:https://blog.51cto.com/fengyunshan911/2047000
Starting MySQL. ERROR! The server quit without updating PID file (/data/mysql/fxq-1.pid).
非正常关机导致:
vim /etc/my.cnf
加入一行:
innodb_force_recovery= 1
转载于:https://blog.51cto.com/fengyunshan911/2047000