直接删除mysql的日志导致mysql无法启动

2019-08-02T08:34:44.750000Z 0 [Warning] [MY-010915] [Server] 'NO_ZERO_DATE', 'NO_ZERO_IN_DATE' and 'ERROR_FOR_DIVISION_BY_ZERO' sql modes should be used with strict mode. They will be merged with strict mode in a future release.
2019-08-02T08:34:44.750000Z 0 [System] [MY-010116] [Server] C:\Program Files\MySQL\MySQL Server 8.0\bin\mysqld.exe (mysqld 8.0.13) starting as process 3480
mysqld: File '.\172_17_0_9-bin.000030' not found (OS errno 2 - No such file or directory)
2019-08-02T08:34:46.250000Z 0 [ERROR] [MY-010958] [Server] Could not open log file.
2019-08-02T08:34:46.250000Z 0 [ERROR] [MY-010041] [Server] Can't init tc log
2019-08-02T08:34:46.250000Z 0 [ERROR] [MY-010119] [Server] Aborting
2019-08-02T08:34:47.750000Z 0 [System] [MY-010910] [Server] C:\Program Files\MySQL\MySQL Server 8.0\bin\mysqld.exe: Shutdown complete (mysqld 8.0.13) MySQL Community Server - GPL.

当然一般人都是作死之后才想起来查查资料

不过大佬说也不是很难解决

https://www.cnblogs.com/chuanzhang053/p/9336386.html

简单来说,就是直接把binlog的index文件删掉就好了

 

转载于:https://www.cnblogs.com/jnhs/p/11289716.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值