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

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

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-01 13:37:01
Original
1028 people have browsed it

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
Related labels:
source:php.cn
Statement of this Website
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
Latest Issues
node.js - Can npm depend on local projects?
From 1970-01-01 08:00:00
0
0
0
React: sync with local storage
From 1970-01-01 08:00:00
0
0
0
How to access php local project LAN?
From 1970-01-01 08:00:00
0
0
0
About using Cordova's local notification plugin
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template