Created
July 13, 2017 06:40
-
-
Save trungpv1601/35aea2b2ace935eee501c0d0a9ff6639 to your computer and use it in GitHub Desktop.
Create user and database mysql
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 DATABASE xxxDatabase; | |
CREATE USER 'xxxUser'@'localhost' IDENTIFIED BY 'xxxPassword'; | |
GRANT ALL PRIVILEGES ON xxxDatabase.* TO 'xxxUser'@'localhost'; | |
FLUSH PRIVILEGES; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment