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 JANUARY 09, 2022

Applies to:

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

Symptoms

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 https://dev.mysql.com/doc/mysqld-version-reference/en/ 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:

 

Changes

Global transaction identifiers (GTIDs) have been enabled.

Cause

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
Symptoms
Changes
Cause
Solution
References


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