• My site is experiencing this error message “Error establishing database connection”.
    I used the repair link on that page and used the repair button and it showed that it was able to repair all databases except my wp-content table
    “The wp_options table is not okay. It is reporting the following error: Table is marked as crashed. WordPress will attempt to repair this table…
        Failed to repair the wp_options table. Error: Number of rows changed from 2200 to 2199”
    At the bottom of the page, it said to submit this part to the wordpress support forums – “wp_options: Number of rows changed from 2200 to 2199”.

    I checked my mysqld.log files and am seeing these different errors over and over.

    “2023-01-13T10:30:33.908313Z 4442 [ERROR] [MY-010211] [Server] Got error 134 when reading table ‘./acogok/wp_options'”

    “2023-01-13T13:05:06.273649Z 1043 [ERROR] [MY-010211] [Server] Got error 127 when reading table ‘./acogok/wp_options'”

    I ran the CHECK TABLE query on the wp-options table, and it says that its okay, so I am stumped.

    mysql> CHECK TABLE wp_options;
    +-------------------+-------+----------+----------+
    | Table             | Op    | Msg_type | Msg_text |
    +-------------------+-------+----------+----------+
    | acogok.wp_options | check | status   | OK       |
    +-------------------+-------+----------+----------+
Viewing 1 replies (of 1 total)
  • Moderator threadi

    (@threadi)

    I would recommend importing a backup of the database. Also make sure you have enough free disk space.

Viewing 1 replies (of 1 total)

The topic ‘Error establishing database connection’ is closed to new replies.