Starting MySQL.The server quit without updating PID file (/var/lib/mysql/localhost.jeep.pid)
2014-06-19 09:31
417 查看
项目中的用户角色不知道为什么无缘无故甘丢失了,所以就决定更改一下数据库密码,但好不幸更改后,重启时报出这个异常,
Java代码
![](http://tcrct.iteye.com/images/icon_star.png)
Starting MySQL..The server quit without updating PID file (/var/lib/mysql/localhost.localdomain.pid
于是去查看mysql日志(在/var/lib/mysql目录下有个err文件的)
Java代码
![](http://tcrct.iteye.com/images/icon_star.png)
InnoDB: using the same InnoDB data or log files.
InnoDB: Unable to lock ./ibdata1, error: 11
于是打算杀死进程再重启,lsof -i:3306,没有进程,后来上网google一翻参考了几篇文章都不能实现有些说修改my.cnf文件等等的,都没效,后来看到一篇文章说:
Java代码
![](http://tcrct.iteye.com/images/icon_star.png)
今天启动mysql出现了这个错误,很奇怪,按照提示,
ps -ef|grep mysqld ,居然发现服务器里有一个僵尸进程mysqld,启动kill -9 进程号,
然后重新启动mysql,一切恢复正常。
于是打上ps -ef|grep mysqld,真的发现有一个进程号,kill于就能正常启动了
Java代码
![](http://tcrct.iteye.com/images/icon_star.png)
Starting MySQL..The server quit without updating PID file (/var/lib/mysql/localhost.localdomain.pid
于是去查看mysql日志(在/var/lib/mysql目录下有个err文件的)
Java代码
![](http://tcrct.iteye.com/images/icon_star.png)
InnoDB: using the same InnoDB data or log files.
InnoDB: Unable to lock ./ibdata1, error: 11
于是打算杀死进程再重启,lsof -i:3306,没有进程,后来上网google一翻参考了几篇文章都不能实现有些说修改my.cnf文件等等的,都没效,后来看到一篇文章说:
Java代码
![](http://tcrct.iteye.com/images/icon_star.png)
今天启动mysql出现了这个错误,很奇怪,按照提示,
ps -ef|grep mysqld ,居然发现服务器里有一个僵尸进程mysqld,启动kill -9 进程号,
然后重新启动mysql,一切恢复正常。
于是打上ps -ef|grep mysqld,真的发现有一个进程号,kill于就能正常启动了
相关文章推荐
- Starting MySQL.. ERROR! The server quit without updating PID file (/var/lib/mysql/localhost.localdom
- The server quit without updating PID file (/var/lib/mysql/localhost.pid)的解决办法
- ERROR! The server quit without updating PID file (/var/lib/mysql//localhost.localdomain.pid
- Starting MySQL.. ERROR! The server quit without updating PID file (/var/lib/mysql/localhost.localdom
- the server quit without updating pid file (/var/lib/mysql/localhost.localdomain.pid)
- 启动mysql出现了error the server quit without updating pid file (/var/lib/mysql/localhost.localdomain.pid)
- The server quit without updating PID file (/var/lib/mysql/localhost.pid)
- 问题解决MySQL启动错误-The server quit without updating PID file (/var/lib/mysql/localhost.pid)
- centos6.6下编译安装mysql5.6之后启动失败:Starting MySQL... ERROR! The server quit without updating PID file (/var/lib/mysql/localhost.localdomain.pid).
- ERROR! The server quit without updating PID file (/var/lib/mysql//localhost.localdomain.pid
- fedora20 Starting MySQL. ERROR! The server quit without updating PID file /var/lib/mysql/Master.Hado
- mysql启动报错:The server quit without updating PID file (/var/lib/mysql/
- Starting MySQL... ERROR! The server quit without updating PID file (/var/lib/mysql/obcit-test.pid).
- Starting MySQL.. ERROR! The server quit without updating PID file (/usr/local/mysql/data/localhost.localdomain.pid).
- Starting MySQL...The server quit without updating PID file [失败]lib/mysql/localhost.localdomain.pid).
- The server quit without updating PID file (/[FAILED]l/mysql/var/localhost.localdomain.pid)
- ERROR! The server quit without updating PID file (/var/lib/mysql/service.pid).
- Centos7启动mysql5.6 提示ERROR! The server quit without updating PID file (/var/lib/mysql/XXX.pid).
- Starting MySQL.The server quit without updating PID file 解决办法