show list of users in mysql
snippet in sql

show list of users in mysql

user4351

//To show all data use following query
select * from mysql.user;
// To show user and host use following query
select User,Host from mysql.user;

show all users in mysql

user6519

mysql> select * from mysql.user;

SELECT User,Host FROM mysql.user;

user1817

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

how to show all users in mysql

user4186

SELECT user FROM mysql.user;