how do delete mysql user code example
Example 1: mysql deltete user
DROP USER 'jeffrey'@'localhost';
Example 2: mysql remove user privileges
REVOKE ALL PRIVILEGES ON database_name.* FROM 'username'@'host';
OR
DROP USER 'username'@'host';
DROP USER 'jeffrey'@'localhost';
REVOKE ALL PRIVILEGES ON database_name.* FROM 'username'@'host';
OR
DROP USER 'username'@'host';