Error
Error Code:
4067
MySQL Error 4067: Cannot Disable Auto-Position with GTID
Description
This error occurs when an attempt is made to disable `SOURCE_AUTO_POSITION` for a replication channel. This action is not permitted if the channel is configured with `GTID_ONLY=1`, as GTID-based replication inherently relies on auto-positioning for proper synchronization.
Error Message
SOURCE_AUTO_POSITION cannot be disabled for replication channel '%s' when GTID_ONLY=1.
Known Causes
3 known causesDirect Attempt to Disable Auto-Position
The `CHANGE REPLICATION SOURCE TO` (or `CHANGE MASTER TO`) statement explicitly tried to set `SOURCE_AUTO_POSITION=0`.
GTID_ONLY Enabled on Channel
The target replication channel is configured to use GTID-based replication exclusively, which makes `SOURCE_AUTO_POSITION` a mandatory setting.
Misunderstanding GTID Requirements
Users might attempt to disable auto-positioning without realizing its fundamental role in GTID-based replication for source-replica synchronization.
Solutions
Coming SoonGeneral Troubleshooting Tips
- Check the error message carefully for specific details
- Review recent changes that might have caused the error
- Search for the exact error code in the official documentation
- Check log files for additional context
- Try restarting the application or service