how to check all users in mysql in ubuntu code example
Example 1: mysql list users on ubuntu
SELECT User FROM mysql.user;
Example 2: see all users mysql
mysql> select host, user, password from mysql.user;
SELECT User FROM mysql.user;
mysql> select host, user, password from mysql.user;