[wp-trac] [WordPress Trac] #36238: uft8mb4 upgrade fails if using db.php drop-in

WordPress Trac noreply at wordpress.org
Mon Mar 14 17:06:17 UTC 2016

#36238: uft8mb4 upgrade fails if using db.php drop-in
 Reporter:  spacedmonkey  |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Database      |    Version:  4.2
 Severity:  normal        |   Keywords:
  Focuses:                |
 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
 db.php#L756 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
 [https://core.trac.wordpress.org/ticket/27961#comment:9 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: https://wordpress.org/support/topic/utf8mb4-wp-42-not-

Ticket URL: <https://core.trac.wordpress.org/ticket/36238>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list