• mngan

    (@mngan)


    Hi there, I set up a wordpress blog a year back and connected it to my server. It crashed yesterday though and I’m not sure how to get it back up. It says error establishing a database connection and after I followed the steps to repair it got this in response:

    monty_users: Table ‘linguacj_wp497.monty_users’ doesn’t exist
    monty_usermeta: Table ‘linguacj_wp497.monty_usermeta’ doesn’t exist
    monty_posts: Table ‘linguacj_wp497.monty_posts’ doesn’t exist
    monty_comments: Table ‘linguacj_wp497.monty_comments’ doesn’t exist
    monty_links: Table ‘linguacj_wp497.monty_links’ doesn’t exist
    monty_options: Table ‘linguacj_wp497.monty_options’ doesn’t exist
    monty_postmeta: Table ‘linguacj_wp497.monty_postmeta’ doesn’t exist
    monty_terms: Table ‘linguacj_wp497.monty_terms’ doesn’t exist
    monty_term_taxonomy: Table ‘linguacj_wp497.monty_term_taxonomy’ doesn’t exist
    monty_term_relationships: Table ‘linguacj_wp497.monty_term_relationships’ doesn’t exist
    monty_commentmeta: Table ‘linguacj_wp497.monty_commentmeta’ doesn’t exist

    Would you know how I would be able to fix this? Thank you so much!

    • This topic was modified 9 years ago by mngan.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator t-p

    (@t-p)

    “Error establishing a database connection” means that there is a problem with the connection to your database – a problem with the credentials stored in the wp-config.php file not matching what mysql expects. – Try reviewing the following codex for some guidance: http://codex.wordpress.org/Common_WordPress_Errors#Error_Establishing_Database_Connection

    sinip

    (@sinip)

    So basically now you have database connection but those tables are missing? Doublecheck the line with database prefix in your wp-config.php file and if it is ok then you’ll need a backup of your database to fix it, since it looks like damaged. If you don’t have one, contact your hosting provider.

    Thread Starter mngan

    (@mngan)

    Thank you so much! Would you know how the database prefix line should look in the file? 🙂 Don’t have much coding experience so not really sure how everything works

Viewing 3 replies - 1 through 3 (of 3 total)

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