Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

yupthatguy's avatar

Master -Slave mysql relationship between guest and host machines

I have multiple durpal 7 installations with dbs that I want to manage in Homestead 7. I want the guest machine to be the master mysql db and the host machine to be the slave mysql db. I want to use phpmyadmin to manage each respective database.

My intention is that if I muck up the VM and eventually use vagrant destory that I can easily export all of my dbs from the local slave and import them in the new master on the new vm. This way I can be up and running quickly.

Can someone provide instructions on how to achieve this?

If there is a better methodology than I have described.. please provide.

thanks

0 likes
0 replies

Please or to participate in this conversation.