Docker & mysql – import data from host
docker exec -i your-docker-name /bin/bash -c " mysql -D your-datat-base-name " < '/path/to/your/data.sql'
docker exec -i your-docker-name /bin/bash -c " mysql -D your-datat-base-name " < '/path/to/your/data.sql'
No comments yet.