Created
March 4, 2015 15:49
-
-
Save yuuichi-fujioka/92d10de09806671d538c to your computer and use it in GitHub Desktop.
create database
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 ${database}; | |
GRANT ALL PRIVILEGES ON ${database}.* TO '${user}'@'localhost' \ | |
IDENTIFIED BY '${password}'; | |
GRANT ALL PRIVILEGES ON ${database}.* TO '${user}'@'%' \ | |
IDENTIFIED BY '${password}'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment