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