Question

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

This textbox defaults to using Markdown to format your answer.

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

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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