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'
Archive for December, 2016
docker exec -i your-docker-name /bin/bash -c ” mysql -D your-datat-base-name ” < '/path/to/your/data.sql'