Created
August 31, 2015 19:39
-
-
Save fvosberg/60ed251033debd0ec770 to your computer and use it in GitHub Desktop.
Create Mysql database with user
This file contains 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` CHARACTER SET utf8 COLLATE utf8_general_ci; | |
GRANT ALL ON `databasename`.* TO `username`@localhost IDENTIFIED BY 'password'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment