arvatoSCM / dockerize-magento2

Composer package for dockerizing Magento 2
Apache License 2.0
112 stars 56 forks source link

SQL Import? #5

Closed brandontamm closed 8 years ago

brandontamm commented 8 years ago

I see that db:import is missing from Magento's CLI tool - just wondering if there is a db-deployment workaround since you included phpmyadmin? Can you share how to import? How are you accessing phpmyadmin - sequel pro with credentials?

brandontamm commented 8 years ago

Anyone wondering the same thing - you can access phpmyadmin at http://example.com:3306 using your env variables

renepenner commented 8 years ago

hey brandontamm,

you can import databases directly from comandline with docker:

docker exec -it your_mysql_container_name mysql -u youruser -p yourpass your_databases_name < dump.sql