解决 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.

时间: 2024-08-05 15:16:47

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

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

[[email protected] mysql-5.1.65]# /etc/init.d/mysqld restartMySQL manager or server PID file could not be found![FAILED] 解决办法 第一,先删除rm -rf /var/lib/mysql,然后重新初始化 /usr/local/mysql/bin/mysql_install_db --user=mysql MySQL manager or server PID file coul

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

一.重新启动mysql数据库 [[email protected] ~]# service mysqld restartShutting down MySQL.[  OK  ]Starting MySQL.The server quit without updating PID file (/application/mysql-5.5.32/data/localhost.localdomain.pid).[FAILED] 二.停止mysql数据库 [[email protected] ~]# s

MySQL启动错误ERROR! MySQL server PID file could not be found的解决办法

/etc/init.d/mysql start无法启动mysql错误信息如下: ERROR! MySQL server PID file could not be found! Starting MySQL.. ERROR! The server quit without updating PID file (/usr/local/mysql/var/AYXXXXXXXXXXX.pid). 完整日志信息如下: 140902 18:11:33 mysqld_safe Starting mysqld

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

启动MySQL服务 [[email protected] vhosts]# /etc/init.d/mysqld restart 提示错误: ERROR! MySQL server PID file could not be found!Starting MySQL... ERROR! The server quit without updating PID file (/alidata/server/mysql/data/test.pid). 在/alidata/server/mysql/da

MySQL server PID file could not be found!   ,今天所遇到的问题

今天在编译安装MySQL的时候出现报错,报错信息如下 [[email protected] mysql]# service mysql start Starting MySQL.. ERROR! The server quit without updating PID file (/var/lib/mysql/localhost.localdomain.pid) 查看报错日志信息如下: 140627 11:31:43 [ERROR] Fatal error: Can't open and loc

MySQL server PID file could not be found!

重启mysql提示MySQL server PID file could not be found! Starting MySQL...The server quit without updating PID file (/usr/local/mysql/data/rekfan.pid). 我只能呵呵了吗?不是. 我是这样做的,先看下是不是有这个进程,然后结束,再重启,代码: ps -ef|grep mysqld kill -9 进程号 你要是没解决?好吧,继续: (解决方法:一个个试!) 1.

mysql 服务重启报MySQL server PID file could not be found!*pid...

今天只是想发表个感慨,同时将这部分教训写出来,让大家有个经验,很简单的mysql数据库搭建,网上有很多安装教程,不用多说. 我只是把我安装后遇到的问题写出来,给自己提个醒,MySQL数据库装完之后(是卸载删除了以前的mysql重装的),我就直接启动mysql服务,service mysql restart ,发现报出如下错误. [[email protected] mysql]# service mysql restartMySQL server PID file could not be fo

mysql(5)-MySQL server PID file could not be found!

重启mysql提示MySQL server PID file could not be found! Starting MySQL...The server quit without updating PID file (/usr/local/mysql/data/rekfan.pid). 我只能呵呵了吗?不是. 我是这样做的,先看下是不是有这个进程,然后结束,再重启,代码: ps -ef|grep mysqld kill -9 进程号 你要是没解决?好吧,继续: (解决方法:一个个试!) 1.

无法启动mySQL解决办法,MySQL is running but PID file could

今天一个客户网站出现无法连接mysql,多方查找原因,原来是空间不足导致. 启动MySQL时,一直停在 MySQL Started.................... 查看状态,结果显示:MySQL is running but PID file could not be found 清理一下磁盘,重启mySQL,一切正常! 要清理的内容: 1.nginx 的日志文件,一般在/home/wwwlogs 文件夹里. 2. MySQL日志文件,一般放在/usr/local/mysql/var文件