mysql——报错,MySQL server PID file could not be found!
报错:
[root@localhost opt]# service mysql stop
ERROR! MySQL server PID file could not be found!
[root@localhost opt]# service mysql restart
ERROR! MySQL server PID file could not be found!
[root@localhost opt]# service mysql status
ERROR! MySQL is running but PID file could not be found


方法一:(失败)

方法二:成功
root@localhost ~]# killall mysqld
[root@localhost ~]# ps -ef|grep mysql
root 3721 3046 0 20:11 pts/0 00:00:00 grep mysql
博客主要围绕MySQL报错“MySQL server PID file could not be found!”展开,展示了停止、重启、查看状态时出现该报错的情况,还介绍了解决方法,其中方法一失败,方法二成功,通过killall mysqld命令处理。

2264

被折叠的 条评论
为什么被折叠?



