Created
December 10, 2021 05:09
-
-
Save manakuro/09bd2ce09c06f6cd25f8b489261d015d 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
#!/bin/bash | |
cd docker || exit | |
docker compose cp ./mysql_data/sql mysql:/var/lib/mysql/ | |
docker compose exec mysql bash -c "mysql -uroot -proot < /var/lib/mysql/sql/reset_database.test.sql" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment