-
-
Save HungYuHei/1228337 to your computer and use it in GitHub Desktop.
Set up a database in 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 `databasename` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci; | |
CREATE USER 'user'@'localhost' IDENTIFIED BY 'mypass'; | |
GRANT ALL ON databasename.* TO 'user'@'localhost'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment