'Cannot replicate anonymous transaction when AUTO_POSITION = 1' After Enabling GTIDs

(Doc ID 2331583.1)

Last updated on NOVEMBER 29, 2017

Applies to:

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

Symptoms

After enabling GTIDs, replication stopped with the error:

Got fatal error 1236 from master when reading data from binary log: 'Cannot replicate anonymous transaction when AUTO_POSITION = 1

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms