• Resolved Doug

    (@douggraphicsolutiongroupcom)


    I have caused my site to go down by attempting to restore and repair a database: http://doug-arnold.com

    I get a message saying that: “One or more database tables are unavailable. The database may need to be repaired.”

    So, I click Repair and then get this message:

    The wp_users table is okay.

    The wp_usermeta table is okay.

    The wp_posts table is okay.

    The wp_comments table is okay.

    The wp_links table is okay.

    The wp_options table is okay.

    The wp_postmeta table is okay.

    The wp_terms table is okay.

    The wp_term_taxonomy table is okay.

    The wp_term_relationships table is okay.

    The wp_commentmeta table is okay.

    Repairs complete. Please remove the following line from wp-config.php to prevent this page from being used by unauthorized users.

    define(‘WP_ALLOW_REPAIR’, true);

    =====

    Then, when I go back into the site, I get this error message:

    Error establishing a database connection

    =====

    Can anyone tell me how to fix this problem?

    Thank you,
    Doug A.

    https://wordpress.org/plugins/updraftplus/

Viewing 1 replies (of 1 total)
  • Plugin Author David Anderson / Team Updraft

    (@davidanderson)

    Hi,

    Error establishing a database connection

    This means that the database access details in wp-config.php don’t work. (DB_NAME, DB_USER, DB_PASS, DB_SERVER). So, double-check those.

    These don’t get modified by UpdraftPlus (unless you’re using a paid version and restored a “WordPress core backup”, and ticked the checkbox to replace wp-config.php – but, for paid versions, please use updraftplus.com for support; this forum is for free support), so there must be something else going on. Is your database server up?

    Best wishes,
    David

Viewing 1 replies (of 1 total)

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