I’m using the MySQL command-line utility and can navigate through a database. Now I need to see a list of user accounts. How can I do this?
I’m using MySQL version 5.4.1.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Use this query:
Which will output a table like this:
As Matthew Scharley points out in the comments on this answer, you can group by the
Usercolumn if you’d only like to see unique usernames.