Created
June 17, 2020 10:46
-
-
Save from-unknown/29798833defbfcc91677aedea1261a5a to your computer and use it in GitHub Desktop.
restore MySql by docker-compose
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
#!/bin/bash | |
cat DUMP_FILE | docker-compose exec -T CONTAINER_NAME mysql -v -uUSER_NAME -pPASSWORD DB_NAME |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment