How to check USERS in MySQL? | Eklavya Online

How to check USERS in MySQL?

If we want to manage a database in MySQL, it is required to see the list of all user’s accounts in a database server. The following command is used to check the list of all users available in the database server:

mysql> SELECT USER FROM mysql.user;