Home >Database >Mysql Tutorial >mysql The server quit without updating PID file异常解决办法_MySQL

mysql The server quit without updating PID file异常解决办法_MySQL

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-01 13:37:011064browse

bitsCN.com


mysql The server quit without updating PID file异常解决办法

 

安装好mysql后,用

Java代码      

/usr/local/mysql/bin/mysqld_safe &  

 去启动mysql,总是处于僵死状态,后来去suport_files 用mysql.server start 来启动,
提示mysql The server quit without updating PID file。在网上找了下,原来说是有mysql
启动的僵死进程。

用ps -ef |grep mysql   发现有

     

Php代码  

root      4507     1  0 21:40 ?        00:00:00 /bin/sh /usr/local/mysql/bin/mysqld_safe -
-user=mysql  

mysql     4793  4507  0 21:40 ?        00:00:03 /usr/local/mysql/bin/mysqld --basedir=
/usr/local/mysql.......  

   

 于是kill 4793,再启动。就正常了

ps:kill root下的进程4507是没用的。

 

bitsCN.com
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn