[wp-trac] [WordPress Trac] #29096: Confusing errors when mysqli fails but mysql works

WordPress Trac noreply at wordpress.org
Fri Jul 3 04:24:54 UTC 2015


#29096: Confusing errors when mysqli fails but mysql works
---------------------------+------------------------------
 Reporter:  paulschreiber  |       Owner:
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  Awaiting Review
Component:  Database       |     Version:  3.9
 Severity:  normal         |  Resolution:
 Keywords:                 |     Focuses:
---------------------------+------------------------------

Comment (by dd32):

 It'd be good to get a list of requirements that need to be hit for this
 case to show up.

 As far as I can tell, it requires
  * MySQL to be setup not to use networking
  * WordPress to be setup to use networking, not a socket address
  * php.ini mysqli set to incorrect socket path
  * php.ini mysql set to correct socket path

 Does that sound like the correct set of conditions to reproduce this?

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


More information about the wp-trac mailing list