Binlog has bad magic number; It's not a binary log file that can be used by this version of MySQL

来源:互联网 发布:数据统计图种类 编辑:程序博客网 时间:2024/06/06 13:09

mysql 在windows server2008启动服务出现故障

C:\Documents and Settings\Administrator>net start mysql
mysql 服务正在启动 ...
mysql 服务无法启动。


系统出错。


发生系统错误 1067。


进程意外终止。


通过查看ww.err文件发现错误信息如下:

Binlog has bad magic number;  It's not a binary log file that can be used by this version of MySQL

140701 10:50:25 [ERROR] Can't init tc log


*********************************************

处理方式:

删除mysql.000001文件(注意:删除最近(新)的mysql.****文件)

重启服务

C:\Documents and Settings\Administrator>net start mysql
mysql 服务正在启动 .
mysql 服务已经启动成功。


MySQL数据库启动正常了。

0 0