3602
MySQLERRORNotableAccess ControlHIGH confidence
Partial revoke already exists (variant 2)
Production Risk
Low — Operation fails; no change to the privilege set.
How to reproduce
trigger — this will error
trigger — this will error
SHOW GRANTS FOR 'user'@'%';
expected output
ERROR 3602 (HY000): A partial revoke already exists.
Fix
Inspect and clean partial revokes
Inspect and clean partial revokes
SHOW GRANTS FOR 'user'@'%';
Why this works
Identifies duplicate partial revoke entries before modification.
What not to do
✕
Version notes
Sources
Official documentation ↗
MySQL 8.0 — 3602 ER_PARTIAL_REVOKE_EXISTS2
Content generated with AI assistance and reviewed for accuracy. Found an error? hello@errcodes.dev