• Hello Guys,

    One of my websites is showing “Error establishing a database connection”.

    When I tried to repair the database using “define ( ‘WP_ALLOW_REPAIR’ , true);
    ” this code in wp-config file.

    It is showing something like this:

    wp_users: Table ‘gadget41_wp526.wp_users’ doesn’t exist
    wp_usermeta: Table ‘gadget41_wp526.wp_usermeta’ doesn’t exist
    wp_posts: Table ‘gadget41_wp526.wp_posts’ doesn’t exist
    wp_comments: Table ‘gadget41_wp526.wp_comments’ doesn’t exist
    wp_links: Table ‘gadget41_wp526.wp_links’ doesn’t exist
    wp_options: Table ‘gadget41_wp526.wp_options’ doesn’t exist
    wp_postmeta: Table ‘gadget41_wp526.wp_postmeta’ doesn’t exist
    wp_terms: Table ‘gadget41_wp526.wp_terms’ doesn’t exist
    wp_term_taxonomy: Table ‘gadget41_wp526.wp_term_taxonomy’ doesn’t exist
    wp_term_relationships: Table ‘gadget41_wp526.wp_term_relationships’ doesn’t exist
    wp_commentmeta: Table ‘gadget41_wp526.wp_commentmeta’ doesn’t exist

    Will you anyone please help me

Viewing 1 replies (of 1 total)
  • Moderator James Huff

    (@macmanx)

    So, it sounds like your database is offline. You’ll need to contact your hosting provider about that.

Viewing 1 replies (of 1 total)

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