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