check all users for database mysql code example
Example: SELECT User,Host FROM mysql.user;
SELECT User,Host FROM mysql.user;
DROP USER 'testuser'@'localhost';
SELECT User,Host FROM mysql.user;
DROP USER 'testuser'@'localhost';