[wp-trac] [WordPress Trac] #61071: Need to display appropriate error messages when the database table is empty or corrupted.
WordPress Trac
noreply at wordpress.org
Fri Dec 6 19:50:00 UTC 2024
#61071: Need to display appropriate error messages when the database table is empty
or corrupted.
-------------------------------------------+------------------------------
Reporter: vishalvaland | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Database | Version: 6.4
Severity: normal | Resolution:
Keywords: 2nd-opinion reporter-feedback | Focuses:
-------------------------------------------+------------------------------
Changes (by OllieJones):
* keywords: needs-patch 2nd-opinion => 2nd-opinion reporter-feedback
Comment:
Investigating this issue.
Is it possible that the database server had crashed and not yet restarted
when your user received the "Error Establishing a Database Connection"
message then passed on to you?
And is it possible that, by the time you or your colleague investigated,
the server had already restarted, but that some table was damaged, either
by the crash or at some other time?
That would explain the database connnection problem. That message only
gets generated (in core at any rate) by actual connection failures, not by
query failures for damaged tables.
Do you have any further information on what happened?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/61071#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list