ERROR! MySQL is running but PID file could not be found

/etc/init.d/mysql status
提示
ERROR! MySQL is running but PID file could not be found
先打印MYSQL进程
ps aux | grep mysql
然后KILL进程
kill -9 pid1 pid2 …
再启动MYSQL
/etc/init.d/mysql start
再检查mysql运行状态
/etc/init.d/mysql status

时间: 2024-10-09 21:52:41

ERROR! MySQL is running but PID file could not be found的相关文章

mysql无法启动ERROR! MySQL is running but PID file could not be found ?

第一种方法:可能是硬盘满了,清理下垃圾文件. 第二种: 查看下数据库运行状态 /etc/init.d/mysql status提示ERROR! MySQL is running but PID file could not be found先打印MYSQL进程ps aux | grep mysql然后KILL进程kill -9 pid1 pid2 …再启动MYSQL/etc/init.d/mysql start再检查mysql运行状态/etc/init.d/mysql status 提示成功 第

无法启动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文件

Multiple MySQL running but PID file could not be found

[[email protected] Desktop]# service mysql start Starting MySQL SUCCESS! [[email protected] Desktop]# service mysql status ERROR! Multiple MySQL running but PID file could not be found (4458 4245) 提示如上所述.解决办法: [[email protected] Desktop]# kill 4458 [

centOS下msyql启动错误-Multiple MySQL running but PID file could not be found

今天在centOS下装mysql时出现了一个错误: 解决方案就是如图所示kill 4734 kill 4839 最后再执行[[email protected] src]# service mysql start就可以了 centOS下msyql启动错误-Multiple MySQL running but PID file could not be found

解决 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 /us

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: Starting MySQL….. ERROR! The server quit without updating PID file

转自: http://icesquare.com/wordpress/mysql-starting-mysql-error-the-server-quit-without-updating-pid-file/ 他也是更新系统后出现的这个问题,我是更新之后出现的该问题,所以按照他的思路删掉配置文件就可以启动了,至于为什么会出现这种问题,回头有时间再仔细研究下. This step-by-step guide is mainly for FreeBSD, however the idea is th

MySQL: Starting MySQL….. ERROR! The server quit without updating PID file

文章来源:http://icesquare.com/wordpress/mysql-starting-mysql-error-the-server-quit-without-updating-pid-file/ 今天启动MySQL 遇见了这个问题,网上搜索,结果各种改文件,删除文件纯属坑爹:在上边的网站上发现了问题的解决方案~老外总结的真不错!拿过来自己学习一下 This step-by-step guide is mainly for FreeBSD, however the idea is