Created
April 7, 2016 12:55
-
-
Save zburgermeiszter/89a41467c80327c0bb550a2c7077d747 to your computer and use it in GitHub Desktop.
Import sql file to MariaDB in Docker
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
docker exec -i CONTAINER_ID /bin/bash -c "export TERM=xterm && mysql -proot -uroot database" < import.sql |
perfect, thanks!
Thanks! Its worked
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This worked for me. Thanks!