mysql see users who have access to a db code example Example: show all users in mysql mysql> select * from mysql.user;