ERROR! MySQL is running but PID file could not be found ?
2014-10-15 17:08
661 查看
ERROR! MySQL is
running but PID
file
could not be
found ?
出现这个问题原因很多
最常见的通常是PID进程未全部关闭
比如启动safe
mysqld进程后
未关闭
运行 /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
在检查
/etc/init.d/mysql status
SUCCESS! MySQL running (10021)
这个只是其中一个原因
还有其他的 大部分的错误可以在日志里查看到
Centos mysql的日志
在/var/lib/mysql/主机头名称xxx.err
running but PID
file
could not be
found ?
出现这个问题原因很多
最常见的通常是PID进程未全部关闭
比如启动safe
mysqld进程后
未关闭
运行 /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
在检查
/etc/init.d/mysql status
SUCCESS! MySQL running (10021)
这个只是其中一个原因
还有其他的 大部分的错误可以在日志里查看到
Centos mysql的日志
在/var/lib/mysql/主机头名称xxx.err
相关文章推荐
- mysql无法启动ERROR! MySQL is running but PID file could not be found ?
- mysql无法启动ERROR! MySQL is running but PID file could not be found ?
- mysql无法启动ERROR! MySQL is running but PID file could not be found ?
- ERROR! MySQL is running but PID file could not be found
- mysql无法启动ERROR! MySQL is running but PID file could not be found ?
- ERROR! MySQL is running but PID file could not be found
- mysql无法启动ERROR! MySQL is running but PID file could not be found
- mysql无法启动ERROR! MySQL is running but PID file could not be found ?
- mysql无法启动ERROR! MySQL is running but PID file could not be found ?
- mysql无法启动ERROR! MySQL is running but PID file could not be found ?
- MySQL is running but PID file could not be found[失败]
- linux无法启动mySQL解决办法,MySQL is running but PID file could not be found
- Linux虚拟机的Mysql启动失败 ERROR! Multiple MySQL running but PID file could not be found (
- MySQL is running but PID file could not be found(解决方法)
- 将MySQL数据库搬迁到另一服务器中遇到的问题:MySQL is running but PID file could not be found[FAILED]&MySQL大小写
- 解决Multiple MySQL running but PID file could not be found (179[失败])
- centOS下msyql启动错误-Multiple MySQL running but PID file could not be found
- Linux 下mysql 启动失败 Multiple MySQL running but PID file could not be found (1761 1448)[失败]
- Multiple MySQL running but PID file could not be found
- MySQL学习6_ERROR! MySQL server PID file could not be found!解决方法