Skip to content

Instantly share code, notes, and snippets.

@mpezzi
Created September 27, 2011 01:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mpezzi/1244064 to your computer and use it in GitHub Desktop.
Save mpezzi/1244064 to your computer and use it in GitHub Desktop.
MySQL Command Line
# Create User
CREATE USER 'user'@'localhost' IDENTIFIED BY 'password';
# Grant Privileges
GRANT ALL PRIVILEGES ON database.* TO 'user'@'localhost' IDENTIFIED BY 'password';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment