Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

docker mysql import dump to database

docker exec -i mysql_container mysql -h127.0.0.1 -uroot -psecret mysql < db.sql
Source by gist.github.com #
 
PREVIOUS NEXT
Tagged: #docker #mysql #import #dump #database
ADD COMMENT
Topic
Name
7+1 =