see mysql users ubuntu
snippet in sql

mysql list users on ubuntu

user5343

SELECT User FROM mysql.user;

see mysql users ubuntu

user4173

SELECT User, Host FROM mysql.user;