Sample Header Ad - 728x90

How to fix "File '.\binlog.000327' not found" error?

0 votes
1 answer
2564 views
I am using Mysql 8.0 in Laragon on Windows 10. Apparently, I did something which made MySQL stop working. Tried to restart several times but it's showing this same error again and again. 2021-12-15T08:24:35.815298Z 0 [Warning] [MY-010097] [Server] Insecure configuration for --secure-file-priv: Current value does not restrict location of generated files. Consider setting it to a valid, non-empty path. 2021-12-15T08:24:35.815417Z 0 [System] [MY-010116] [Server] D:\laragon\bin\mysql\mysql-8.0.13-winx64\bin\mysqld (mysqld 8.0.13) starting as process 14852 mysqld: File '.\binlog.000327' not found (OS errno 2 - No such file or directory) 2021-12-15T08:24:42.400102Z 0 [ERROR] [MY-010958] [Server] Could not open log file. 2021-12-15T08:24:42.400850Z 0 [ERROR] [MY-010041] [Server] Can not init tc log 2021-12-15T08:24:42.401518Z 0 [ERROR] [MY-010119] [Server] Aborting 2021-12-15T08:24:43.574538Z 0 [System] [MY-010910] [Server] D:\laragon\bin\mysql\mysql-8.0.13-winx64\bin\mysqld: Shutdown complete (mysqld 8.0.13) MySQL Community Server - GPL. I do not understand why it's showing. So I looked into the directory. Mysql Binlog files Clearly the binlog.000327 file is missing. Now on google search, I could not find any solution on how to resolve this specific problem. **Should I copy binlog.000326 and rename it binlog.000327? Will it work?** I'm skeptical of doing this because it's a binary file and it might cause other issues such as database data loss. **Or is there a proper fix to this solution?**
Asked by Faizan Anwer Ali (101 rep)
Dec 15, 2021, 08:40 AM
Last activity: Aug 4, 2025, 06:02 AM