Created
September 14, 2009 15:37
-
-
Save aurels/186728 to your computer and use it in GitHub Desktop.
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
# Create a mysql user and give him all rights on a given database | |
$ mysql -u root -p | |
GRANT SELECT, LOCK TABLES, INDEX, INSERT, UPDATE, DELETE, CREATE, ALTER, DROP ON specific_database.* TO 'brand_new_user'@localhost IDENTIFIED BY 'awsome_password'; | |
FLUSH PRIVILEGES; | |
# To improve |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment