List all MySQL users with their host
show mysql users | list database users | mariadb user list | mysql | mariadb | users | securitymysql -e 'SELECT user, host FROM mysql.user ORDER BY user;'Lists all accounts from the user table with their allowed host. Entries with host % can connect from anywhere and should be set deliberately. Useful for security audits and for cleaning up orphaned users.
Note: On Plesk servers, manage users through the Plesk interface whenever possible.
Also searched as
- show mysql users
- list database users
- mariadb user list