how to get user in mysql cmd code example Example: show all users in mysql mysql> select * from mysql.user;