服务器之家:专注于服务器技术及软件下载分享
分类导航

Mysql|Mssql|Oracle|Redis|

服务器之家 - 数据库 - Mysql - Starting MySQL.Manager of pid-file quit without updating file.[FAILED]的解决方法

Starting MySQL.Manager of pid-file quit without updating file.[FAILED]的解决方法

2019-11-05 15:01mysql教程网 Mysql

因为硬盘满了,Starting MySQL.Manager of pid-file quit without updating file.[FAILED]

因为硬盘满了,mysql启动不起来了。 

登录上去看了一下,发现原因。 

删除mysql的日志文件,重启mysql发现错误:Starting MySQL.Manager of pid-file quit without updating file.[FAILED] 

网上有不少这个原因的解释,但是都不是我想说的。我要说的原因其实很白痴:data/mysql-bin.index没有删除,data/mysql-bin.index是存放日志文件索引的文件,只删除了日志文件而没有对日志的索引文件做处理显然是不行的。 

删除data/mysql-bin.index文件,再service mysqld start就可以了。 

好久没有写日志了,我还没有忘记这里。

延伸 · 阅读

精彩推荐