mysql 启动错误-server PID file could not be found
来源:互联网 发布:linux源码在线阅读 编辑:程序博客网 时间:2024/06/05 08:44
[root@centos var]# service mysqld stop
MySQL manager or server PID file could not be found! [FAILED]
解决办法:
首先查看一下进程
[root@irxpert-test /]# ps aux |grep mysq*
root 10274 0.0 0.0 68160 1336 ? S 13:43 0:00 /bin/sh /usr/bin/mysqld_safe --datadir=/var/lib/mysql --pid-file=/var/lib/mysql/irxpert-test.pid
mysql 10353 0.0 1.0 344360 39464 ? Sl 13:43 0:00 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --plugin-dir=/usr/lib64/mysql/plugin --user=mysql --log-error=/var/lib/mysql/irxpert-test.err --pid-file=/var/lib/mysql/irxpert-test.pid
root 11884 0.0 0.0 63384 760 pts/1 S+ 15:44 0:00 grep mysq*
mysql
root
如果看到上面的内容,那说明,Mysql的进程卡死了,这时用就要把这些卡死的进程都关闭
[root@centos mysql]# kill 10274
[root@centos mysql]# kill 10353
启动Mysql就ok了
[root@centos mysql]# service mysql start
Starting MySQL. [ OK ]
注:进程状态是S的表示休眠的进程
0 0
- mysql 启动错误-server PID file could not be found
- mysql启动错误:server PID file could not be found!
- mysql 启动错误-server PID file could not be found
- mysql 启动错误-server PID file could not be found
- mysql 启动错误-server PID file could not be found
- mysql 启动错误-server PID file could not be found
- Mysql服务启动错误之(MySQL manager or server PID file could not be found)
- MySQL启动错误ERROR! MySQL server PID file could not be found的解决办法
- 遇到的问题---mysql 启动错误-server PID file could not be found
- MySQL manager or server PID file could not be found!
- mysql -server PID file could not be found
- MySQL server PID file could not be found!
- MySQL manager or server PID file could not be found!
- MySQL server PID file could not be found!
- Mysql server PID file could not be found 解决思路
- MySQL server PID file could not be found![失败]
- Linux MySQL server PID file could not be found!
- MySQL server PID file could not be found! 问题解决
- Entity Framework 数据生成选项DatabaseGenerated
- java使用xfire生成JSR181版WebService客户端
- 从程序员到CTO的Java技术路线图
- java开发SSM框架的搭建(SpringMVC+Spring+MyBatis)
- 学习别人的摇一摇
- mysql 启动错误-server PID file could not be found
- Myecplise优化
- 判断一个字段是否有相同的数据
- 《数据挖掘:R语言实战》
- 获取子控件里面的输入框 焦点
- 转载一篇大神编程练级的教程,用于学习,大家共勉~
- java中的多线程
- Lex 入门
- HttpPostedFile 和 HttpPostedFileBase 你真的了解嘛?