Created
March 20, 2012 15:11
-
-
Save ReekenX/2136768 to your computer and use it in GitHub Desktop.
Mysql: Grant access to single database
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, ALTER, LOCK TABLES, INDEX ON db_name.* TO db_username@localhost IDENTIFIED BY 'super duper secret password'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment