• Hi,
    I am facing Databas Connection error while accessing my site
    And while accessing wp-admin i was suggested to add
    define(‘WP_ALLOW_REPAIR’, true);
    in wp-config.php

    So I did
    But after the repair process I was suggested to post this problem in the forum with the errors listed below

    Could you please help

    Regards
    Rizwan

    wp_users: 2 clients are using or haven’t closed the table properly
    wp_usermeta: 2 clients are using or haven’t closed the table properly
    wp_posts: 19 clients are using or haven’t closed the table properly
    wp_options: Table is marked as crashed
    wp_postmeta: 19 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

Viewing 2 replies - 1 through 2 (of 2 total)
  • The easy fix is to restore your database from your backups if the repair didn’t fix things.

    • This reply was modified 5 years, 9 months ago by JNashHawkins.

    In order to make it easier for people to answer and help please describe the situation of the site before the failed database connection. Did you make any changes before the failed connection? Troubleshoot this problem with all plugins disabled. In your hosting cpanel reset the password for the database user. Then connect the user to the database. Then access the site using incognito browser. sometimes you actually do not have an error on the site rather the cache in the browser could be stuck on the error screen when trying to connect. Using incognito mode will get passed that.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Facing Database error while accessing site’ is closed to new replies.