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

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


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

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

Regards, KDSys