mysql The server quit without updating PID file异常解决办法_MySQL
程序员文章站
2022-06-03 12:11:27
...
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
推荐阅读
-
MySQL Error Log 文件丢失导致The server quit without updating PID file启动失败的场景
-
深度解析MySQL启动时报“The server quit without updating PID file”错误的原因
-
linux启动mysql报错 Starting MySQL... ERROR! The server quit without updating PID file (XXXX pid文件位置)
-
Starting MySQL.The server quit without updating PID file (/v_MySQL
-
mysql The server quit without updating PID file异常解决办法
-
MySQL启动ERROR! MySQL server PID file could not be found的解决办法
-
The server quit without updating PID file (/[FAILED]l/mysql/
-
MySQL数据库出现The server quit without updating PID file._MySQL
-
Starting MySQL.The server quit without updating PID file (/v_MySQL
-
MySQL Restart Failed : The server quit without updating PID_MySQL