centos 8 figure out what user is running mysql server code example Example: see mysql users ubuntu SELECT User, Host FROM mysql.user;