Created
April 13, 2016 00:06
-
-
Save soncco/a8b1b2ecbce553660b2bf687179252e1 to your computer and use it in GitHub Desktop.
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 'user'@'localhost' IDENTIFIED BY 'pass'; | |
GRANT ALL PRIVILEGES ON db.* TO 'user'@'localhost'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
CREATE USER 'user'@'%' IDENTIFIED WITH mysql_native_password BY 'pass';