Answers for "mysql how to list all users"

SQL
1

SELECT User,Host FROM mysql.user;

SELECT User,Host FROM mysql.user;
DROP USER 'testuser'@'localhost';
Posted by: Guest on August-05-2020
2

show all users in mysql

mysql> select * from mysql.user;
Posted by: Guest on August-28-2020

Code answers related to "SQL"

Browse Popular Code Answers by Language