Last active
September 29, 2016 11:45
-
-
Save putnamhill/5808307 to your computer and use it in GitHub Desktop.
Creating a new user with the mysql client and set some privileges for all the tables of a database.
This file contains hidden or 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 USER 'someuser'@'localhost' IDENTIFIED BY 'cleartext-password'; | |
GRANT SELECT,INSERT,UPDATE,DELETE ON `database`.* TO 'someuser'@'localhost'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment