Support » How-To and Troubleshooting » Error establishing a database connection

Error establishing a database connection

  • Hello all ! Since few days, I get an issue on my wordpress blog.
    On the main page there is : “Error establishing a database connection”
    I tried to fix it from this page. But it doesn’t working…

    Thanks You

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Few things to check:

    Have you reset your DB password & double-checked that your DB username, password and database name are all correct?

    Have you logged into your database eg via PHPMyAdmin and checked if the tables actually exist?

    Yes, all it’s ok except.. this
    I’m french, there is writing “No table was found in this base” but there is also (12). That’s strange. I don’t want to lost all the contents ! Is there a solution to save it ?

    What should I do ?

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