Create a new user





5
Date Submitted Fri. Jun. 16th, 2006 8:45 AM
Revision 1 of 1
Beginner cyu
Tags mysql
Comments 0 comments
Creates a new user with all privileges when logging in from localhost.

GRANT ALL PRIVILEGES ON *.* TO 'monty'@'localhost' IDENTIFIED BY 'some_pass' WITH GRANT OPTION;
 

Calvin Yu

blog.codeeg.com

Comments

There are currently no comments for this snippet.

Voting

Votes Down