• I was using wordpress,and all of sudden i got the database connection error.Then i did wordpress database repair.

    And got the following message.

    wp_usermeta: 3 clients are using or haven’t closed the table properly
    wp_posts: 5 clients are using or haven’t closed the table properly
    wp_options: Table is marked as crashed
    wp_postmeta: 3 clients are using or haven’t closed the table properly
    wp_terms: 1 client is using or hasn’t closed the table properly
    wp_term_taxonomy: 1 client is using or hasn’t closed the table properly
    wp_term_relationships: 2 clients are using or haven’t closed the table properly

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator t-p

    (@t-p)

    Error connecting to your database:

    -First, double check your wp-config.php file settings for the database name, database username and database password. This is where most errors occur.

    -Then check that you don’t need to change the database host from “localhost” to something else. You can get that info from your hosting provider.

    -Check you have actually created a database with the same database name as is in your wp-config.php file.

    -Last, but not least, if all that information is correct your database probably has a problem with it, and you may need to contact your hosting provider.

    There are also many threads on this topic on these forums: http://ww.wp.xz.cn/search/Error+establishing+a+database+connection?forums=1

    Thread Starter dipenrique

    (@dipenrique)

    I was using wordpress on wamp.And it was running smoothly,and all of a suddden i got all this error.
    I tried after sometime again,and it started running again.Its working now.
    But i dont understand why did i get this problem.Is it in the database or in the wordpress.

    Anyways thanks 🙂

    Moderator t-p

    (@t-p)

    You are welcome. 🙂

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

The topic ‘Error establishing a database connection,problems in wordpress databa repair..’ is closed to new replies.