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

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数据库启动正常了。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值