Created
January 12, 2015 08:33
-
-
Save mullnerz/466381137fc16a806bd3 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 database if not exists `${DB_NAME}`; | |
grant all privileges on `${DB_NAME}`.* TO `${DB_USERNAME}`@`localhost` identified by '123'; | |
grant all privileges on `${DB_NAME}`.* TO `${DB_USERNAME}`@`%` identified by '123'; | |
mysql --force --user ${DB_USERNAME} --password ${DB_PASSWORD} ${DB_NAME} < ${DB_NAME}.sql |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment