mysql show users
snippet in sql

mysql show users

user1167

select * from mysql.user;
#or for less data
select user, host from mysql.user;

see all users mysql

user2588

mysql> select host, user, password from mysql.user;

show all users in mysql

user5942

mysql> select * from mysql.user;

SELECT User,Host FROM mysql.user;

user8820

SELECT User,Host FROM mysql.user;
DROP USER 'testuser'@'localhost';

how to show all users in mysql

user8841

SELECT user FROM mysql.user;