remove grant user database mysql code example
Example: mysql remove user privileges
REVOKE ALL PRIVILEGES ON database_name.* FROM 'username'@'host';
OR
DROP USER 'username'@'host';
REVOKE ALL PRIVILEGES ON database_name.* FROM 'username'@'host';
OR
DROP USER 'username'@'host';