Last active
December 26, 2015 05:08
-
-
Save rand0m86/7098150 to your computer and use it in GitHub Desktop.
Create DB user and grant him access
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
grant all privileges on mydb.* to myuser@localhost identified by 'mypasswd'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Sometimes you should use
myuser@'%'
instead of
localhost