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.
| MySQL | MariaDB | |
|---|---|---|
| Symbol | ER_CANT_USE_SAME_UUID_AS_GROUP_NAME | ER_WRONG_TYPE_FOR_RANGE_FRAME |
| SQLSTATE | HY000 | HY000 |
| Type | Server error | Server error |
| Versions | since 8.0.26 active | since 10.2.44 active |
How the message changed between versions
| MySQL from | Symbol | Message |
|---|---|---|
| 8.0.26 | ER_CANT_USE_SAME_UUID_AS_GROUP_NAME | CHANGE 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.36 | ER_CANT_USE_SAME_UUID_AS_GROUP_NAME | CHANGE REPLICATION SOURCE TO ASSIGN_GTIDS_TO_ANONYMOUS_TRANSACTIONS = <UUID> cannot be executed because the UUID value is equal to the group_replication_group_name. |