Report this

What is the reason for this report?

Best way to extend mysql database between two or more servers

Posted on March 28, 2016

I want a setup where I have a mysql server that is spread across more then one server, so then if I fill up one server it starts adding the rest of the database onto the next server and so on. What’s the best way to do this digital ocean and should I be hosting data such as lots of images and content on digital ocean?



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.

Hey there,

There are a few ways to think about this issue. You may be able to spread the database across multiple storage options in the near future, not necessarily separate servers. I wouldn’t recommend including the images into the database if you already plan on having a large database.

If you want to copy the database to multiple servers for redundancy, I would recommend reviewing this tutorial about database replication.

Happy coding,

Jon Schwenn Platform Support Specialist DigitalOcean

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.