Created
October 21, 2020 05:48
-
-
Save nesymno/0cf1ea74ffbd7f8e74f94f51ae187676 to your computer and use it in GitHub Desktop.
Import SQL to Docker container
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
sudo docker exec -i container_name_or_id mysql -h 127.0.0.1 -P 3306 -uroot -proot dbName < dump.sql |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment