show database user mySQL code example Example: mysql list users on ubuntu SELECT User FROM mysql.user;