Make WordPress Core

Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#28194 closed feature request (maybelater)

Fallback/multiple database support

Reported by: jcpunk Owned by:
Milestone: Priority: normal
Severity: normal Version: 4.0
Component: Database Keywords:
Focuses: Cc:


I've got a master/master MariaDB setup and I'd love to be able to set multiple hostnames in wordpress to utilize this high availability cluster.

They share user/pass/dbname it is just that I've got multiple dbhosts.

I've little interest in sharding or load balancing between the systems. I just desire: if wordpress can't connect to one host that it tries another.

Change History (4)

#1 @wonderboymusic
4 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to maybelater
  • Status changed from new to closed

Yep: http://wordpress.org/plugins/hyperdb/

This won't be added to core - but is the standard for setting up your DB cluster.

#2 @jcpunk
4 years ago

The listed compatibility of that plugin is way back at 3.5.2

#3 @wonderboymusic
4 years ago

It is used on every major WordPress website. WordPress.com, The New York Times, etc

#4 @nacin
4 years ago

I'll harass someone to get it updated, but note it works fine with the latest version of WordPress and we use it on WordPress.org (it also powers WordPress.com).

Note: See TracTickets for help on using tickets.