How To Set Up a Remote Database to Optimize Site Performance with MySQL

As your website or application grows, it’s a good idea to separate the hosting of your server and the database backend between two different machines. This will distrbute the load of responding to your visitor’s requests, and increase your application’s performance. In this guide, we’ll configure a remote MySQL database server for your web app, using WordPress as an example. Select your operating system below to get started.

Featured on Community

Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.

Become a contributor

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow — whether you're running one virtual machine or ten thousand.

Learn more
DigitalOcean Cloud Control Panel