让我们一起爱米兰
站内搜搜:
移动设备
请扫描二维码
或访问
m.milan100.com
您所在的位置 -> 米兰百分百 -> MySql -> mysql 启动错误-server PID file could not be found

mysql 启动错误-server PID file could not be found

点击数:1701 发表时间:2011-07-11 15:53:55 作者: 来源链接:
分享到:
分享到微信

[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@centos mysql]# kill 10274
[root@centos mysql]# kill 10353
启动Mysqlok
[root@centos mysql]# service mysql start
Starting MySQL.                                            [  OK  ]

0
很 好
0
一 般
0
差 劲
热门新闻
相关文章
上一篇: MySQL中root远程连接
下一篇: MySQL 数据库常用命令 超级实用版分享
评论区
匿名

返回首页 | 收藏本页 | 回到顶部
Copyright 2010. 米兰百分百 Powered By Bridge.
京ICP备15050557号