CHANGE MASTER TO with GTIDs Enabled Fail: "ERROR 1776 (HY000): Parameters MASTER_LOG_FILE, MASTER_LOG_POS, RELAY_LOG_FILE and RELAY_LOG_POS cannot be set when MASTER_AUTO_POSITION is active."

(Doc ID 2300451.1)

Last updated on AUGUST 28, 2017

Applies to:

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

Symptoms

When attempting to set the master log file and position using the CHANGE MASTER TO statement with the MASTER_LOG_FILE and/or MASTER_LOG_POS arguments, the statement fails with an error:

 

Changes

Global transaction identifiers (GTIDs) have been enabled.

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