直接删除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文件删掉就好了

 

posted @ 2019-08-02 16:56  不打鱼光晒网  阅读(1452)  评论(0编辑  收藏  举报