Reading Encrypted Binary Logs Using mysqlbinlog from 8.0.13, 5.7, or Earlier: "ERROR: Binlog has bad magic number; It's not a binary log file that can be used by this version of MySQL", "ERROR: File is not a binary log file."
(Doc ID 2495021.1)
Last updated on MARCH 02, 2020
Applies to:MySQL Server - Version 8.0 and later
Information in this document applies to any platform.
When attempting to read events from an encrypted binary log file, mysqlbinlog exists with an error.
The error with mysqlbinlog from MySQL 8.0.13 is:
Binary log encryption (binlog_encryption) has been enabled.
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