Scalable MySQL Database for WordPress is very easy to create as Rackspace allows Cloud Database,so does Amazon. Here is a guide for high performance WordPress. In our previous guide for Creating a Scalable Cloud Infrastructure for WordPress, we created the full setup in the Cloud. But, in this guide on creating Scalable MySQL Database for WordPress with Rackspace Cloud, we will show how to setup a Scalable MySQL Database for WordPress, even if your FTP server is from C grade company.
Basics for Scalable MySQL Database for WordPress with Rackspace Cloud
This method of creating Scalable MySQL Database for WordPress with Rackspace Cloud is highly effective for Rackspace Cloud Sites plus Rackspace Cloud Files (read Akamai CDN) users. If you combine it with patched version of WP Super Cache, virtually with a good theme, your webpage will load within 2-3 seconds taking that you have optimized the theme images, js, css etc and served by Rackspace Cloud Files.
If you are using Rackspace Cloud’s Managed Server (excluding Cloud Sites), Rackspace will actually set the servers in the way somewhat like we wrote in Creating a Scalable Cloud Infrastructure for WordPress. But, Rackspace Cloud’s Managed Server might not be within budget for all.
---
This method for Scalable MySQL Database for WordPress with Rackspace Cloud will work with any C Grade Server, but obviously the php will fail to perform the best as they are on a bad server, you can use Amazon instead of Rackspace as well. The method for Scalable MySQL Database for WordPress with Rackspace Cloud uses a plugin named HyperDB.
Steps for Creating Scalable MySQL Database for WordPress
HyperDB is actually consists of two php files, its not an installable plugin – First file is db-config.php and second is db.php.
For Scalable MySQL Database for WordPress, it is best to create a test working configuration first. You can follow our method for Repairing WordPress Database, if your database needs a bit optimization or create a replica database in that way.
One Database is Master, the exact replica is Slave. Basically root access is needed for Scalable MySQL Database for WordPress with Rackspace Cloud rather said as High Availability Cloud. But that needs root access and installation of a serverside software named heartbeat. We are creating the thing for cheaper price, so the replication should be done yourself.
Place this db-config.php in root and db.php to the /wp-content/ folder from SFTP :

Configure the files db-config.php and db.php before uploading them. You will get HyperDB from WordPress here.

Tagged With rackspace wordpress