My Oracle Support Banner

MySQL Error: Failed to execute my_stat on file; Binary Log (Doc ID 1457101.1)

Last updated on FEBRUARY 27, 2020

Applies to:

MySQL Server - Version 4.0 and later
Information in this document applies to any platform.


The MySQL error log shows notes about not being able to stat one or more binary log files. For example in MySQL 5.6 and later (the format may differ depending on version):

MySQL 8 does not log any notes.


This note usually appears in the error log when the binary logs have been deleted or renamed outside of MySQL or you have changed the location of the binary log files but not copied all the existing binary logs across.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.