Answers for "mysql grant access to one database"

SQL
0

mysql grant access to one database

//create the user:
CREATE USER 'user'@'hostname' IDENTIFIED BY 'password';

//give it access to the database dbTest
GRANT ALL PRIVILEGES ON dbTest.* To 'user'@'hostname' ;
Posted by: Guest on July-21-2021

Code answers related to "mysql grant access to one database"

Code answers related to "SQL"

Browse Popular Code Answers by Language