Answers for "db query all users"

SQL
4

sql show all users

#show all users and hosts
SELECT User, Host FROM mysql.user;

# show all users with passwords
SELECT User, Host, Password, password_expired FROM mysql.user;
Posted by: Guest on October-19-2021

Code answers related to "SQL"

Browse Popular Code Answers by Language