how to get the users table in mysql from command line code example Example: see all users mysql mysql> select host, user, password from mysql.user;