My Oracle Support Banner

CHANGE REPLICATION SOURCE TO with GTIDs Enabled Fail: "ERROR 1776 (HY000): Parameters SOURCE_LOG_FILE, SOURCE_LOG_POS, RELAY_LOG_FILE and RELAY_LOG_POS cannot be set when SOURCE_AUTO_POSITION is active." (Doc ID 2300451.1)

Last updated on SEPTEMBER 04, 2023

Applies to:

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


Disclaimer: Starting from v8.0, some terms have been deprecated. Older releases will only use the deprecated terminology, and new releases will only use new terminology. Please see for a complete list of those changes, and in which minor versions it happened.

When attempting to set the source log file and position using the CHANGE REPLICATION SOURCE TO statement with the SOURCE_LOG_FILE and/or SOURCE_LOG_POS arguments, the statement fails with an error:



Global transaction identifiers (GTIDs) have 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

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