Skip to content

Instantly share code, notes, and snippets.

@sr75
Created April 4, 2012 20:58
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 sr75/2305587 to your computer and use it in GitHub Desktop.
Save sr75/2305587 to your computer and use it in GitHub Desktop.
create mysql app user example
CREATE USER 'sysadmin'@'localhost' IDENTIFIED BY 'password';
GRANT ALL PRIVILEGES ON `appname_environment`.* TO 'sysadmin'@'localhost';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment