WordPress.org

Ready to get started?Download WordPress

Forums

Database Connection Error (2 posts)

  1. perryny
    Member
    Posted 2 years ago #

    Trying to access my site, I was getting a Database Connection Error (not sure if that's the exact wording - I can't get back to it now).

    I got the page stating, "allow use of this page to automatically repair database problems, please add the following line to your wp-config.php file. Once this line is added to your config, reload this page.

    define('WP_ALLOW_REPAIR', true);"

    I added the line, ran the repair (not repair and optimize) and received the following report:

    wp_users: 1 client is using or hasn't closed the table properly
    wp_usermeta: 4 clients are using or haven't closed the table properly
    wp_options: Table is marked as crashed
    wp_postmeta: 2 clients are using or haven't closed the table properly
    wp_term_taxonomy: 1 client is using or hasn't closed the table properly
    wp_term_relationships: 1 client is using or hasn't closed the table properly
    wp_commentmeta: 5 clients are using or haven't closed the table properly

    Any ideas on how to proceed?

    Thanks,
    -Robert

  2. perryny
    Member
    Posted 2 years ago #

    Well, I got a bit stupid, decided to click "repair" again and see what happens. This time around it tells me everything has been repaired and all seems to be working ok for now.

    Fingers crossed it stays that way.

    Thanks,
    -Robert

Topic Closed

This topic has been closed to new replies.

About this Topic