Heim  >  Artikel  >  Datenbank  >  Starting MySQL.Manager of pid-file quit without updating fil

Starting MySQL.Manager of pid-file quit without updating fil

WBOY
WBOYOriginal
2016-06-07 18:01:54928Durchsuche

因为硬盘满了,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就可以了。

好久没有写日志了,我还没有忘记这里。
Stellungnahme:
Der Inhalt dieses Artikels wird freiwillig von Internetnutzern beigesteuert und das Urheberrecht liegt beim ursprünglichen Autor. Diese Website übernimmt keine entsprechende rechtliche Verantwortung. Wenn Sie Inhalte finden, bei denen der Verdacht eines Plagiats oder einer Rechtsverletzung besteht, wenden Sie sich bitte an admin@php.cn