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'
  1. No comments yet.

  1. No trackbacks yet.