[wp-trac] [WordPress Trac] #21663: Use mysqli for MySQL queries when available
WordPress Trac
noreply at wordpress.org
Wed Mar 26 12:49:45 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 pento):
Replying to [comment:212 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)"`).
What version of Zend Server are you using to get this error message?
Replying to [comment:213 arnee]:
> Please allow plugins to check if wpdb uses mysqli or mysql
You should be able to check this with `$wpdb->use_mysqli`. Is this not the
case for you?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/21663#comment:215>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list