mage2click / docker-magento-mutagen

Mage2click Docker-based development environment for Magento with mutagen.io sync for files on macOS
https://mage2.click
MIT License
69 stars 9 forks source link

Added bin/dbconnect and bin/dbimport scripts #37

Closed davidalger closed 5 years ago

davidalger commented 5 years ago

Use bin/dbconnect to drop into a mysql prompt for the magento database in the db container. Use bin/dbimport to re-import a database into a setup like this:

bin/dbconnect -e 'drop database magento; create database magento'
pv /server/dumps/vbm2/vbm2_main-2019-05-20.sql.gz | gunzip -c | bin/dbimport
u-maxx commented 5 years ago

Thanks @davidalger !