MySQL show users - how to show the users in a MySQL database
Login as the mysql root user to create database:
$ mysql -u root -p
mysql> select * from mysql.user;
to check the settings for the users:
mysql> select host, user, password from mysql.user;