Mysql (command line) find users

$ mysql -u root -p

 

SELECT User FROM mysql.user;
will output a table of users
+------------------+
| User             |
+------------------+
| root             |
| root             |
|                  |
| root             |
|                  |
| debian-sys-maint |
| phpmyadmin       |
| root             |
+------------------+

Leave a Reply

Your email address will not be published. Required fields are marked *