Support » Fixing WordPress » Error establishing a database connection

  • Resolved tqfan



    I built a site for someone else, and they’ve come to me today saying the site has this ‘error establishing a database connection’ problem. i googled it, found help and now hit a wall… (

    when i repair the database i get the following. i’m not entirely sure what it means, has the client deleted things?? even thought WP should be easy to use, they have come to me with issues before, that was their doing. i’m just not sure what the following ‘tables’ means right now. no idea what version of WP they are using, i did tell them to update everything when it said to, but that doesn’t mean they have =/

    Some database problems could not be repaired. Please copy-and-paste the following list of errors to the WordPress support forums to get additional assistance.

    here are the list of errors:
    wp_users: Table ‘countyof_wrdp1.wp_users’ doesn’t exist
    wp_usermeta: Table ‘countyof_wrdp1.wp_usermeta’ doesn’t exist
    wp_posts: Table ‘countyof_wrdp1.wp_posts’ doesn’t exist
    wp_comments: Table ‘countyof_wrdp1.wp_comments’ doesn’t exist
    wp_links: Table ‘countyof_wrdp1.wp_links’ doesn’t exist
    wp_options: Table ‘countyof_wrdp1.wp_options’ doesn’t exist
    wp_postmeta: Table ‘countyof_wrdp1.wp_postmeta’ doesn’t exist
    wp_terms: Table ‘countyof_wrdp1.wp_terms’ doesn’t exist
    wp_term_taxonomy: Table ‘countyof_wrdp1.wp_term_taxonomy’ doesn’t exist
    wp_term_relationships: Table ‘countyof_wrdp1.wp_term_relationships’ doesn’t exist
    wp_commentmeta: Table ‘countyof_wrdp1.wp_commentmeta’ doesn’t exist


    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator James Huff


    Volunteer Moderator

    Check the wp-config.php file to make sure that it has the correct credentials to access the MySQL database.

    If it does, contact the hosting provider’s support to ask why the database server is offline (or find out who deleted it).

    Thread Starter tqfan


    Hi James, how would I check the credentials?

    Thanks, James.

    Thread Starter tqfan


    if what i’m looking at were the credentials, everything was as it should be. i contacted the server and everything is back working. thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Error establishing a database connection’ is closed to new replies.