mysqldude
Error codes › 4021

MySQL & MariaDB error 4021 ER_CANT_USE_SAME_UUID_AS_GROUP_NAME

Same number, two different errors. 4021 means one thing in MySQL and another in MariaDB. Check which server you are connected to.
MySQLCHANGE REPLICATION SOURCE TO ASSIGN_GTIDS_TO_ANONYMOUS_TRANSACTIONS = <UUID> cannot be executed because the UUID value is equal to the group_replication_group_name.
MariaDBNumeric datatype is required for RANGE-type frame
MySQLMariaDB
SymbolER_CANT_USE_SAME_UUID_AS_GROUP_NAMEER_WRONG_TYPE_FOR_RANGE_FRAME
SQLSTATEHY000HY000
TypeServer errorServer error
Versionssince 8.0.26 activesince 10.2.44 active
How the message changed between versions
MySQL fromSymbolMessage
8.0.26ER_CANT_USE_SAME_UUID_AS_GROUP_NAMECHANGE MASTER TO ASSIGN_GTIDS_TO_ANONYMOUS_TRANSACTIONS = <UUID> cannot be executed because the UUID value is equal to the group_replication_group_name.
8.0.36ER_CANT_USE_SAME_UUID_AS_GROUP_NAMECHANGE REPLICATION SOURCE TO ASSIGN_GTIDS_TO_ANONYMOUS_TRANSACTIONS = <UUID> cannot be executed because the UUID value is equal to the group_replication_group_name.