mysql无法启动ERROR! MySQL is running but PID file could not be found ?
2015-02-04 10:21
627 查看
转载于:http://blog.csdn.net/wuzhilon88/article/details/17616635
第一种方法:可能是硬盘满了,清理下垃圾文件。
第二种:
查看下数据库运行状态
/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
提示成功
第三种:是修改过my.cnf配置出错引起 执行命令:vi /etc/my.cnf 修改内容:
# The MySQL server
[mysqld]
port = 3306
socket = /var/lib/mysql/mysql.sock
在执行第二种命令,OK
第一种方法:可能是硬盘满了,清理下垃圾文件。
第二种:
查看下数据库运行状态
/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
提示成功
第三种:是修改过my.cnf配置出错引起 执行命令:vi /etc/my.cnf 修改内容:
# The MySQL server
[mysqld]
port = 3306
socket = /var/lib/mysql/mysql.sock
在执行第二种命令,OK
相关文章推荐
- 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无法启动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 ?
- linux无法启动mySQL解决办法,MySQL is running but PID file could not be found
- ERROR! MySQL is running but PID file could not be found
- Linux虚拟机的Mysql启动失败 ERROR! Multiple MySQL running but PID file could not be found (
- ERROR! MySQL is running but PID file could not be found
- ERROR! MySQL is running but PID file could not be found ?
- Linux 下mysql 启动失败 Multiple MySQL running but PID file could not be found (1761 1448)[失败]
- MySQL is 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大小写
- centOS下msyql启动错误-Multiple MySQL running but PID file could not be found
- MySQL启动错误ERROR! MySQL server PID file could not be found的解决办法
- 磁盘空间满引起的mysql启动失败:ERROR! MySQL server PID file could not be found!
- mysql无法启动ERROR! MySQL is running but PID file coul