• I’m running a local site when suddenly i got a database error. WordPress suggested to repair the database which i did but still no joy.
    Does anyone have a suggestion or a fix for this issue?

    Thanks

    wp_usermeta: Table is marked as crashed and last repair failed
    wp_posts: Table is marked as crashed and last repair failed
    wp_options: Table is marked as crashed and last repair failed
    wp_postmeta: Table is marked as crashed and last repair failed
    wp_term_relationships: Table is marked as crashed and last repair failed

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi,

    Using PHPmyadmin or similar are you able to view the contents of those tables, if so I would try backing it up and then restore it to a new database and update your wp-config.

    Regards,

    Jacob

    Thread Starter ferdiax

    (@ferdiax)

    Thanks jacobcolton for your reply. When i click on any of the above mentioned tables i get the following Error
    #144 – Table ‘./gklunterdb6hth8/wp_options’ is marked as crashed and last (automatic?) repair failed

    When i display a list of the tables under the Structure tab it says that these tables are in use.

    Here is a screenshot: https://cl.ly/1B1H42092D2g

    Its not looking very good.

    Moderator t-p

    (@t-p)

    – Do you have good backup of your database? If you do, try restoring your DB with it.

    – If you don’t, ask your hosting provider if they a backup of your site. If they do, ask them restore your site.

    Thread Starter ferdiax

    (@ferdiax)

    Thanks Tara for your message.
    The backup was due to run at night but unfortunately i didn’t get that far. I had downloaded the site to my desktop and was working on it with Desktop Server. All the changes i made, which were quiet a lot seem to be gone. If i could get the custom CSS back that in itself would be a great relief.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Site won't Load Database errors’ is closed to new replies.