how to check mysql users in ubuntu code example
Example 1: mysql list users on ubuntu
SELECT User FROM mysql.user;
Example 2: how to show all users in mysql
SELECT user FROM mysql.user;
Example 3: see mysql users ubuntu
SELECT User, Host FROM mysql.user;