list all users in mysql database code example Example: how to show all users in mysql SELECT user FROM mysql.user;