HyperDB 2014-12-17

A WordPress plugin that implements a very advanced database class that replaces WP's built-in DB functions.
It is based on code already being used on the WordPress blogging website with multiple database servers.


WordPress MU only: add this line near the top of wp-config.php: define('WPMU', true);
Upload db.php to the /wp-content/ directory. At this point, HyperDB is active. It will use the database connection constants until you complete the final steps.
Upload db-settings.php in the directory that holds wp-config.php
Edit the db settings according to the directions in that file.
Add this line near the top of wp-config.php: require('db-settings.php');
Any value of WP_USE_MULTIPLE_DB will be ignored by HyperDB. If you wish to switch off multiple DB, remove the 'require' statement from step 5.

Main features:

  • Read and write servers (replication)
  • Local and remote datacenters
  • Private and public networks
  • Different tables on different databases/hosts
  • Smart post-write master reads
  • Failover for downed host
  • Advanced statistics for profiling

last updated on:
December 17th, 2014, 13:39 GMT
license type:

GPL: GNU General Public License

developed by:
Matthew Mullenweg
operating system(s):
Windows / Linux / Mac OS / BSD / Solaris
C: \ Modules \ WordPress Plugins
Download Button

In a hurry? Add it to your Download Basket!

user rating 1



Rate it!

Add your review!