[wp-trac] [WordPress Trac] #42812: Use MySQLi when available by default

WordPress Trac noreply at wordpress.org
Fri Jan 19 12:18:23 UTC 2018


#42812: Use MySQLi when available by default
------------------------------------------+---------------------
 Reporter:  dd32                          |       Owner:  dd32
     Type:  enhancement                   |      Status:  closed
 Priority:  normal                        |   Milestone:  4.9.2
Component:  Database                      |     Version:
 Severity:  normal                        |  Resolution:  fixed
 Keywords:  has-patch commit fixed-major  |     Focuses:
------------------------------------------+---------------------

Comment (by rhirschfeld):

 It was perhaps a mistake to roll this out in a point release because:

 - Those using mysql on sites where both mysql and mysqli are available
 experienced breakage (I can't imagine I'm the only one).
 - It's not clear to the naive user that the breakage can be corrected by
 defining WP_USE_EXT_MYSQL as true (or even what caused the breakage), and
 until it is corrected database corruption can ensue.
 - Users have no opportunity to make a backup before an automatic update.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/42812#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list