[wp-trac] [WordPress Trac] #21870: @ error control operator hides fatal error on mysql_fetch_object

WordPress Trac noreply at wordpress.org
Thu Apr 14 18:28:16 UTC 2016


#21870: @ error control operator hides fatal error on mysql_fetch_object
------------------------------+------------------------
 Reporter:  ericlewis         |       Owner:  ericlewis
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  4.5
Component:  Database          |     Version:  1.5
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |     Focuses:
------------------------------+------------------------

Comment (by Otto42):

 Now that warnings are not being suppressed anymore, a new warning is
 showing up for some users:

 https://wordpress.org/support/topic/wp45-upgrade-mysql_connect-error

 This one is:

 `Warning: mysql_connect(): Headers and client library minor version
 mismatch. Headers:xxx Library:xxx in .../wp-includes/wp-db.php on line
 1515`

 It can be resolved by switching the installations to use the nd_mysql or
 mysqlnd (native driver) libraries instead of the normal mysql or mysqli
 ones. This eliminates the need for the mysql client libraries, and thus
 resolves the version mismatch between them.

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


More information about the wp-trac mailing list