解决 MySQL manager or server PID file could not be found! 的方法
2014-03-19 14:28
435 查看
[root@centos var]# service mysqld stop
MySQL manager or server PID file could not be found! [FAILED]
解决办法:
首先查看一下进程
[root@centos mysql]# ps aux |grep mysq*
root 2643 0.0 0.2 4536 1224 ? S 01:09 0:00 /bin/sh /usr/local/mysql/bin/mysqld_safe --datadir=/usr/local/mysql/var --pid-file=/usr/local/mysql/var/centos.pid
mysql 2757 0.0 1.2 36976 6608 ? Sl 01:09 0:00 /usr/local/mysql/libexec/mysqld --basedir=/usr/local/mysql --datadir=/usr/local/mysql/var --user=mysql --log-error=/usr/local/mysql/var/centos.err --pid-file=/usr/local/mysql/var/centos.pid --socket=/tmp/mysql.sock --port=3306
root 4788 0.0 0.1 3920 684 pts/2 R+ 11:11 0:00 grep mysq*
如果看到上面的内容,那说明,Mysql的进程卡死了,这时用就要把这些卡死的进程都关闭
[root@centos mysql]# kill 2643
[root@centos mysql]# kill 2757
启动Mysql 就ok了
[root@centos mysql]# service mysqld start
Starting MySQL.
MySQL manager or server PID file could not be found! [FAILED]
解决办法:
首先查看一下进程
[root@centos mysql]# ps aux |grep mysq*
root 2643 0.0 0.2 4536 1224 ? S 01:09 0:00 /bin/sh /usr/local/mysql/bin/mysqld_safe --datadir=/usr/local/mysql/var --pid-file=/usr/local/mysql/var/centos.pid
mysql 2757 0.0 1.2 36976 6608 ? Sl 01:09 0:00 /usr/local/mysql/libexec/mysqld --basedir=/usr/local/mysql --datadir=/usr/local/mysql/var --user=mysql --log-error=/usr/local/mysql/var/centos.err --pid-file=/usr/local/mysql/var/centos.pid --socket=/tmp/mysql.sock --port=3306
root 4788 0.0 0.1 3920 684 pts/2 R+ 11:11 0:00 grep mysq*
如果看到上面的内容,那说明,Mysql的进程卡死了,这时用就要把这些卡死的进程都关闭
[root@centos mysql]# kill 2643
[root@centos mysql]# kill 2757
启动Mysql 就ok了
[root@centos mysql]# service mysqld start
Starting MySQL.
相关文章推荐
- 解决 MySQL manager or server PID file could not be found! 的方法
- MySQL manager or server PID file could not be found! 的方法
- MySQL manager or server PID file could not be found!
- Mysql服务启动错误之(MySQL manager or server PID file could not be found)
- linux安装mysql 报 ERROR! MySQL manager or server PID file could not be found!
- MySQL manager or server PID file could not be found![FAILED]
- ERROR! MySQL manager or server PID file could not be found!
- MySQLmanager or server PID file could not be found! 分类: database ubuntu 2014-01-22 16:29 313人阅读 评论(0) 收藏
- mysql启动报错 MySQL manager or server PID file could not be found! [FAILED]
- MySQLmanager or server PID file could not be found!
- MySQL manager or server PID file could not be found!
- MySQL manager or server PID file could not be found!
- MySQL学习6_ERROR! MySQL server PID file could not be found!解决方法
- MySQL manager or server PID file could not be found!
- ERROR! MySQL server PID file could not be found!的解决方法
- MySQL启动ERROR! MySQL server PID file could not be found的解决办法
- MySQL manager or server PID file could not be foun
- mysql报错问题解决MySQL server PID file could not be found!
- mysql报错问题解决MySQL server PID file could not be found!
- Docker容器启动lnmp环境下的mysql服务时报"MySQL server PID file could not be found"错误解决办法