Delete mysql log cause mysql not start

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.

Of course, after most people think of it all seek death look up information

But chiefs say it is not hard to solve

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

In simple terms, it is to directly delete the binlog index file just fine

 

Guess you like

Origin www.cnblogs.com/jnhs/p/11289716.html