Documentation Home
MySQL Internals Manual

MySQL Internals Manual  /  ...  /  Determining the Binlog Version Determining the Binlog Version

By the time you read the first event from the log you don't know what binlog version the binlog has. To determine the version correctly it has to be checked if the first event is: