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

WordPress Trac noreply at wordpress.org
Sat Feb 22 01:53:16 UTC 2014


#21663: Use PDO or 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 pento):

 attachment:21663.12.diff adds support for host:port,
 host:/path/to/mysql.sock, and host:port:/path/to/mysql.sock style host
 definitions, same as `mysql_connect()` supports.

 Implementation was taken from PHP's [https://github.com/php/php-
 src/blob/c081ce628f0d76d44784d7bb8e06428b06142ac0/ext/mysql/php_mysql.c#L823
 mysql_connect source].

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


More information about the wp-trac mailing list