[wp-trac] [WordPress Trac] #34186: Misleading error message

WordPress Trac noreply at wordpress.org
Wed Oct 7 09:12:42 UTC 2015


#34186: Misleading error message
--------------------------------+-----------------------------
 Reporter:  bjerke-johannessen  |      Owner:
     Type:  enhancement         |     Status:  new
 Priority:  normal              |  Milestone:  Awaiting Review
Component:  Database            |    Version:  trunk
 Severity:  normal              |   Keywords:
  Focuses:                      |
--------------------------------+-----------------------------
 The error message "Error establishing a database connection" is extremely
 misleading, as it's at least also returned when the _connection_ to the
 database is working just fine but WordPress doesn't find the correct
 schema. I'm attaching a patch with a more descriptive error message, so
 the maybe others will avoid having to trace down non-existent connections
 problem when the real issue is with the schema.

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


More information about the wp-trac mailing list