解决 MySQL manager or server PID file could not be found! 的方法

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了解决 MySQL manager or server PID file could not be found! 的方法相关的知识,希望对你有一定的参考价值。

[[email protected] var]# service mysqld stop

MySQL manager or server PID file could not be found!       [FAILED]

解决办法:

首先查看一下进程

[[email protected] 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的进程卡死了,这时用就要把这些卡死的进程都关闭

[[email protected] mysql]# kill 2643

[[email protected] mysql]# kill 2757

启动Mysql 就ok了

[[email protected] mysql]# service mysqld start

Starting MySQL.


本文出自 “焯焯先生的博客” 博客,请务必保留此出处http://chaohuang.blog.51cto.com/6843018/1895386

以上是关于解决 MySQL manager or server PID file could not be found! 的方法的主要内容,如果未能解决你的问题,请参考以下文章

弹出界面 eth0: 错误:激活连接失败:Device not managed by NetworkManager or una

ubuntu上安装nginx+mysql+php5-fpm(PHP5 - FastCGI Process Manager)

远程登陆mysql报错:ERROR 1130 (HY000): Host '10.0.0.8' is not allowed to connect to this MySQL serv

解决Linux下MySQL启动错误Starting MySQL.Manager of pid-file quit without updating file.[FAILED]

Java Selenium:profile.managed_auto_select_certificate_for_urls 选择证书的示例

ERP CRM DMS- A dealership management system (DMS) or auto dealership management system