Last active
June 9, 2017 16:41
-
-
Save geek182/913655e9b64e173bca74be6ddc4448dd to your computer and use it in GitHub Desktop.
quick commans for daily
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 | |
CREATE USER 'newuser'@'localhost' IDENTIFIED BY 'password'; | |
% = anywhere | |
#Permission | |
GRANT SELECT, INSERT ON *.* TO 'someuser'@'somehost'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment