[wp-trac] [WordPress Trac] #36805: Deprecated: mysql_connect(): error code

WordPress Trac noreply at wordpress.org
Tue May 10 20:38:41 UTC 2016


#36805: Deprecated: mysql_connect(): error code
--------------------------+------------------------------
 Reporter:  dekkertjie    |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:  4.5.2
 Severity:  normal        |  Resolution:
 Keywords:  close         |     Focuses:
--------------------------+------------------------------
Changes (by knutsp):

 * keywords:   => close


Comment:

 Hello @dekkertjie and welcome to Trac.

 This message is given when you are running on PHP 5.5 or 5.6 without the
 mysqli extension. This forces WordPress to use the deprecated mysql
 extension when connecting to the database. This not a bug in WordPress.

 My advice would be to contact your host and get mysqli included in their
 PHP.

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


More information about the wp-trac mailing list