/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
相关文章
- 04-23EF Migrations error: No connection string named 'MpDb' could be found in the application config file.
- 04-23Mac上csv导入mysql提示错误[Error Code] 1290 - The MySQL server is running with the --secure-file-priv option解决办法
- 04-23mysql提示错误[Error Code] 1290 - The MySQL server is running with the --secure-file-priv option解决办法
- 04-23MySQL: Starting MySQL….. ERROR! The server quit without updating PID file
- 04-23Starting MySQL. ERROR! The server quit without updating PID file(xxx/x.pid)
- 04-23使用“迁移助理”迁移Mac后,MySQL报错:ERROR! The server quit without updating PID file
- 04-23终极解决重启服务器后mysql启动失败 报 ERROR! The server quit without updating PID file (/var/run/mysqld/mysqld.pid).
- 04-23mysql从库Last_IO_Error: Got fatal error 1236 from master when reading data from binary log: 'Could not find first log file name in binary log index file'报错处理
- 04-23mysql启动时报错:Starting MySQL... ERROR! The server quit without updating PID file (/opt/mysql/data/mysql.pid) 的解决方法
- 04-23Starting MySQL.. ERROR! The server quit without updating PID file (/usr/local/mysql/data/vm10-0-0-19