Error
Error Code:
3911
MySQL Error 3911: GTID_PURGED Update Group Replication Conflict
Description
This error indicates an attempt to modify the `GTID_PURGED` system variable while the MySQL Group Replication plugin is actively running. MySQL prevents this operation to maintain data consistency and the integrity of the replication topology, as Group Replication manages Global Transaction Identifiers (GTIDs) internally.
Error Message
Cannot update GTID_PURGED with the Group Replication plugin running
Known Causes
3 known causesManual GTID_PURGED Modification
A direct `SET GLOBAL GTID_PURGED` statement was executed while Group Replication was active on the server instance.
Automated Script Conflict
An external script, tool, or database management utility attempted to alter `GTID_PURGED` without checking the Group Replication status.
Misconfigured GTID Management
The attempt to update `GTID_PURGED` stems from a misunderstanding of how Group Replication handles GTIDs or a misconfiguration in replication setup.
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