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

WordPress Trac noreply at wordpress.org
Sat Aug 2 14:39:17 UTC 2014


#29096: Confusing errors when mysqli fails but mysql works
---------------------------+-----------------------------
 Reporter:  paulschreiber  |      Owner:
     Type:  defect (bug)   |     Status:  new
 Priority:  normal         |  Milestone:  Awaiting Review
Component:  General        |    Version:  trunk
 Severity:  normal         |   Keywords:
  Focuses:                 |
---------------------------+-----------------------------
 If your php.ini is misconfigured so that mysqli fails but mysql succeeds,
 you get a seemingly spurious "no such file or directory" error on the
 setup screen.

 This is confusing because you simultaneously have an error condition and
 success.

 It would be good to alert the user that we had to fall back so the cause
 of the fallback can be investigated.

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


More information about the wp-trac mailing list