can we install two databases one master and another slave on a single droplet in digitalocean?

Posted January 14, 2020 873 views
DigitalOcean Managed MySQL Database

Hi we want to install two databases on one droplet and one should be master and other as slave. Is it possible? Please suggest.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer

Hi @serveradmin7162d00ccd8f76e,

In theory it should be possible however it will most certainly not be the best idea. You can check the following article as how to do it - HERE.

I don’t recommend it though, it certainly better to have them separated on different droplets. If you are looking to lower the expenses, the above method will not work as it requires almost the equal amount of RAM and CPU as the standard way - 1 Master and 1 Slave droplets. Additionally,the server experiencing issues will cause problems with both mysql instances