MySQL users are stored in the 'user' table of the 'mysql' database. As such, all we need to do is run the following query (after logging in to MySQL) SELECT user from mysql.user; This will return a list of all users in the MySQL user database.