Answers for "SELECT USER FROM mysql.user;"

SQL
20

mysql show users

select * from mysql.user;
#or for less data
select user, host from mysql.user;
Posted by: Guest on March-04-2020
2

show all users in mysql

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

mysql user

CREATE USER 'pdam'@'localhost' IDENTIFIED BY 'pdamP@ssw0rd'; # create user
GRANT ALL PRIVILEGES ON `pdam_db`.* TO 'pdam'@'localhost'; # set db access
FLUSH PRIVILEGES; # Reload
Posted by: Guest on August-06-2021

Code answers related to "SELECT USER FROM mysql.user;"

Code answers related to "SQL"

Browse Popular Code Answers by Language