Get A List Of All MySQL Users Accounts

Posted By Weston Ganger

Sometime you may want to see all of the user accounts on your MySQL server.

SELECT User FROM mysql.user;
+-------+
| User  |
+-------+
| root  |
+-------+
| user2 |
+-------+

Related External Links:

Article Topic:Software Development - Linux

Date:December 29, 2016