[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
Sun Jun 23 11:32:28 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:  needs-patch 2nd-opinion  |     Focuses:
-------------------------------------+------------------------------

Comment (by deepakrohilla):

 When WordPress encounters a corrupted or empty table in its database, it
 generate an error message indicating a database-related issue.

 If WordPress can't establish a connection to the database due wrong
 host/username/password than it generates "Error establishing a database
 connection"

 but if database connection has established and table is empty or corrupted
 than it generate
 "One or more database tables are unavailable. The database may need to be
 repaired."

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


More information about the wp-trac mailing list