Delete Access Host: REVOKE GRANT OPTION if grant_priv=Y

Version 1.62.0


The REVOKE ALL PRIVILEGES command was not sufficient to clear an access host if grant_priv=Y was enabled for this DB User. If grant_priv=Y on this db+host, then also call the REVOKE GRANT OPTION command. If there is an error in either query, the old DELETE FROM mysql.db query is run (only as a fallback) ---- T32059

Interested to try DirectAdmin? Get a 30-day Free Trial!