Title: database errors
Last modified: November 29, 2019

---

# database errors

 *  [roz333](https://wordpress.org/support/users/roz333/)
 * (@roz333)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/database-errors-60/)
 * Today when i tried to login to my WordPress dashboard, i got an error that wrote“
   there is problem in database tables”, when i opened homepage of website i got
   this error ” can not establish a connection to database”
    i added this line to
   wp-config.php “define(‘WP_ALLOW_REPAIR’, true);” WordPress itself fixed the issue
   and website came back to normal service again but at end of repair page i got
   theses messages:
 * “wp_usermeta: 1 client is using or hasn’t closed the table properly
    wp_posts:
   2 clients are using or haven’t closed the table properly wp_comments: 2 clients
   are using or haven’t closed the table properly wp_options: Table is marked as
   crashed wp_postmeta: 2 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:
   2 clients are using or haven’t closed the table properly wp_term_relationships:
   1 client is using or hasn’t closed the table properly”
 * I’m worried that these errors make a big problem in the future
    Does anyone here
   can help me to fix this problem?

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

 *  [erikhansen1231](https://wordpress.org/support/users/erikhansen1231/)
 * (@erikhansen1231)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/database-errors-60/#post-12188622)
 * This is normal I guess
 * Best regards,
    Erik from [GUIDE TO QUICK LOANS](https://probolan50.dk/)
 *  [anant101289](https://wordpress.org/support/users/anant101289/)
 * (@anant101289)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/database-errors-60/#post-12188655)
 * Hello [@roz333](https://wordpress.org/support/users/roz333/),
 * you can update the latest version of wordpress,i.e wordpress 5.3, i think your
   issue will solve.
 * Thanks & Regards
 *  Thread Starter [roz333](https://wordpress.org/support/users/roz333/)
 * (@roz333)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/database-errors-60/#post-12189043)
 * Hello [@anant101289](https://wordpress.org/support/users/anant101289/) I already
   updated my WordPress to latest version(5.3) few days before this error was shown
   to me, Do have any idea what thing have made this error?
 *  Thread Starter [roz333](https://wordpress.org/support/users/roz333/)
 * (@roz333)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/database-errors-60/#post-12189047)
 * Hello [@erikhansen1231](https://wordpress.org/support/users/erikhansen1231/) 
   Which part is normal?
 *  [anant101289](https://wordpress.org/support/users/anant101289/)
 * (@anant101289)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/database-errors-60/#post-12191201)
 * Hello [@roz333](https://wordpress.org/support/users/roz333/),
 * you can check below links, i think it will help.
 * `https://dev.mysql.com/doc/refman/5.7/en/myisam-table-close.html`
 * `https://wptavern.com/how-to-repair-a-crashed-wordpress-posts-table`
 * `https://dev.mysql.com/doc/refman/5.5/en/repair-table.html`
 * Thanks
    -  This reply was modified 6 years, 5 months ago by [anant101289](https://wordpress.org/support/users/anant101289/).

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

The topic ‘database errors’ is closed to new replies.

## Tags

 * [database](https://wordpress.org/support/topic-tag/database/)
 * [tables](https://wordpress.org/support/topic-tag/tables/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 5 replies
 * 3 participants
 * Last reply from: [anant101289](https://wordpress.org/support/users/anant101289/)
 * Last activity: [6 years, 5 months ago](https://wordpress.org/support/topic/database-errors-60/#post-12191201)
 * Status: not a support question

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
