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