Creat a User in MySQL

Create a user in MySQL and give them full privileges to a database.

CREATE USER 'user'@'localhost' IDENTIFIED BY 'some_pass';
GRANT ALL PRIVILEGES ON database_name.* TO 'user'@'localhost'
My tags:
 
Popular tags:
 
Powered by MojoMojo