MySQL is running but PID file could not be found 解决方案

今天碰到一个问题,服务器异常关闭,mysql无法启动,查看mysql 状态service mysqld status都提示:MySQL is running but PID file could not be found。 解决方法: 使用ps -elf |grep mysql 查询mysql的进程,了解到pid文件在 /usr/local/var 目录下, 记一下,等会需要这个目录 打算先停掉服
相关文章
相关标签/搜索