1select * from mysql.user;
2#or for less data
3select user, host from mysql.user;
1//To show all data use following query
2select * from mysql.user;
3// To show user and host use following query
4select User,Host from mysql.user;
1#display all user data
2select * from mysql.user;
3#display username and host
4select user, host from mysql.user;