mysql启动报错... ERROR! The server quit without updating PID file (/usr/local/mysql/data/test.pid

公司的服务器突然断电了,恢复后重启mysql报错如下

Starting MySQL... ERROR! The server quit without updating PID file (/usr/local/mysql/data/test.pid)                                                                                                       

查阅多方资料后,采用了如下的操作解决问题:

1、切换到/var/lib/mysql目录下

cd /var/lib/mysql

2、删除或移动该目录下的文件

rm -rf ./*

3、启动mysql

service mysql start

图例:

参考链接:

1、https://stackoverflow.com/questions/4963171/mysql-server-startup-error-the-server-quit-without-updating-pid-file/25683395

2、https://blog.csdn.net/u011823494/article/details/74560366

猜你喜欢

转载自blog.csdn.net/weixin_35735381/article/details/84819239
今日推荐