码迷,mamicode.com
首页 > 数据库 > 详细

ERROR! MySQL is running but PID file could not be found

时间:2015-08-09 16:46:45      阅读:127      评论:0      收藏:0      [点我收藏+]

标签:

/etc/init.d/mysql status
提示
ERROR! MySQL is running but PID file could not be found
先打印MYSQL进程
ps aux | grep mysql
然后KILL进程
kill -9 pid1 pid2 …
再启动MYSQL
/etc/init.d/mysql start
再检查mysql运行状态
/etc/init.d/mysql status

ERROR! MySQL is running but PID file could not be found

标签:

原文地址:http://www.cnblogs.com/dytl/p/4715239.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!