Aikesheng Open Source Community
Jul 15, 2024 · Databases
Analysis of MySQL GRANT Failure in Replication and Its Non‑Atomic Behavior
This article investigates why a MySQL replication slave stops when a GRANT statement fails after directly updating the mysql.user table, explains the implicit privilege reload mechanism, demonstrates the issue with a reproducible test, and concludes that GRANT is not an atomic operation.
Database AdministrationMySQLPrivileges
0 likes · 8 min read