Make WordPress Core

Opened 8 years ago

Closed 8 years ago

#36238 closed defect (bug) (invalid)

uft8mb4 upgrade fails if using db.php drop-in

Reported by: spacedmonkey's profile spacedmonkey Owned by:
Milestone: Priority: normal
Severity: normal Version: 4.2
Component: Database Keywords:
Focuses: Cc:


Hyperdb is a popular database class that supports replication, failover, load balancing, and partitioning. Many other database drop-ins are based on hyperdb. In the core On the upgrade to the database in WordPress 4.2/4.3 if does a check to see if the database is capable of supporting uft8mb4. However these changes are not reflected in hyperdb. This means that when the upgrade is trigger it fails gracefully and the upgrade doesn't happen. Because there is no feedback that upgrade failed, it seems like the upgrade was successful.

In production we had the Twitter auto-embed issue occur in WP 4.4.1. All db drop-ins need to be updated to support utf8mb4.

Here is an example of an updated hyperdb with utf8mb4 support -

First report:

Change History (2)

#1 @SergeyBiryukov
8 years ago

  • Keywords close added

This appears to be specific to the HyperDB plugin, which is managed by Automattic rather than, so the plugin support forum is the correct place for this report.

#2 @pento
8 years ago

  • Keywords close removed
  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed

For reference, this is being tracked on Github.

Note: See TracTickets for help on using tickets.