Title: Database problem
Last modified: August 31, 2016

---

# Database problem

 *  [Juuthvk](https://wordpress.org/support/users/juuthvk/)
 * (@juuthvk)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/database-problem-47/)
 * Today, my site started saying there was trouble connecting to the database. After
   running the WordPress troubleshooter (suggested by wordpress itself, I added 
   a line of code to wp-config.php), this is the error log that came out if it:
 * wp_usermeta: 10 clients are using or haven’t closed the table properly
    wp_posts:
   26 clients are using or haven’t closed the table properly wp_options: Table is
   marked as crashed wp_postmeta: 31 clients are using or haven’t closed the table
   properly wp_term_taxonomy: 2 clients are using or haven’t closed the table properly
   wp_term_relationships: 2 clients are using or haven’t closed the table properly
 * What does this mean and how should I solve it?
 * Thank you!!

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

 *  [InterServer](https://wordpress.org/support/users/interservernet-web-hosting/)
 * (@interservernet-web-hosting)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/database-problem-47/#post-7112800)
 * From the error log it is clear that the table wp_options is crashed and it needs
   to be repaired. You can repair the table from PhpMyAdmin.
 * Steps:
 * 1: Login to PhpMyAdmin
    2: Open the database. 3: Select the table which needs
   to be repaired. 4: At the bottom of the page you can see a drop-down box, and
   select “Repair table” from the drop-down. This will repair the selected table.
 * Once it repaired you will be bale to access website without any issues.
 *  Thread Starter [Juuthvk](https://wordpress.org/support/users/juuthvk/)
 * (@juuthvk)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/database-problem-47/#post-7112825)
 * Thanks @InterServer, I’ll try that!
 *  Thread Starter [Juuthvk](https://wordpress.org/support/users/juuthvk/)
 * (@juuthvk)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/database-problem-47/#post-7112832)
 * Thanks again @InterServer, your solution worked perfectly!
 * Do you know what could have caused the table to be damaged like this?
 * Kind regards, J

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

The topic ‘Database problem’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [Juuthvk](https://wordpress.org/support/users/juuthvk/)
 * Last activity: [10 years, 3 months ago](https://wordpress.org/support/topic/database-problem-47/#post-7112832)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
