Report this

What is the reason for this report?

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

Posted on January 14, 2020

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



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!

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

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.