how to check what user is used in mysql code example Example: show all users in mysql mysql> select * from mysql.user;