[wp-trac] [WordPress Trac] #21663: Use mysqli for MySQL queries when available

WordPress Trac noreply at wordpress.org
Sat Mar 15 13:15:36 UTC 2014


#21663: Use mysqli for MySQL queries when available
------------------------------+------------------
 Reporter:  scottconnerly     |       Owner:
     Type:  task (blessed)    |      Status:  new
 Priority:  normal            |   Milestone:  3.9
Component:  Database          |     Version:  3.5
 Severity:  normal            |  Resolution:
 Keywords:  has-patch commit  |     Focuses:
------------------------------+------------------

Comment (by benjamin4):

 I'm using Zend Server (in my Dev environment) and this ticket broke the
 database connection (`"Warning: mysqli_real_connect(): [2002] No such file
 or directory (trying to connect via unix:///tmp/mysql.sock)"`). I had to
 change my wp-config to:

   define('DB_HOST', 'localhost:/var/run/mysqld/mysqld.sock');

 See this forum discussion for more infos:

 http://forums.zend.com/viewtopic.php?f=44&t=568

 Would it be possible to include the socket syntax in the error message?

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


More information about the wp-trac mailing list