Answers for "mysql how to give my user all privileges"

SQL
13

mysql add user with all privileges

CREATE USER 'newuser'@'localhost' IDENTIFIED BY 'password';
GRANT ALL PRIVILEGES ON * . * TO 'newuser'@'localhost';
FLUSH PRIVILEGES;
Posted by: Guest on January-02-2020
24

mysql grant all privileges to a user

GRANT ALL PRIVILEGES ON database_name.* TO 'username'@'localhost';
Posted by: Guest on March-18-2020

Code answers related to "mysql how to give my user all privileges"

Code answers related to "SQL"

Browse Popular Code Answers by Language