Created
November 17, 2017 00:52
-
-
Save steinkel/a8c27b47ada34cb39b739444e482c43e to your computer and use it in GitHub Desktop.
cakefest 2017 create database and import schema
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
mysql -uroot -e "CREATE DATABASE my_app; CREATE DATABASE test_myapp" | |
mysql -uroot -e "GRANT ALL PRIVILEGES ON *.* to my_app@localhost identified by 'secret'" | |
curl -L https://raw.githubusercontent.com/steinkel/cakefest2017/master/schema.sql |mysql -uroot my_app |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment