Mega Code Archive

 
Categories / MySQL / User Permission
 

GRANT statement creates a user account and grants global-level privileges to that account

GRANT ALL ON *.* TO 'user1'@'domain1.com' IDENTIFIED BY 'pw1';