Title: Database Error on some posts
Last modified: August 19, 2016

---

# Database Error on some posts

 *  Resolved [techunfolding](https://wordpress.org/support/users/techunfolding/)
 * (@techunfolding)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/database-error-on-some-posts/)
 * Hey,
 * Yesterday i started getting the database error, “Error establishing a database
   connection”. But i am not getting this error on every page or post, its happening
   on some but not all. It wont let me log into the dashboard also. When i try to
   access the dashboard i get asked to repair the database, but it doesn’t seem 
   to be working.
 * I have checked my wp-config.php file and everything seems to be correct. I have
   also tried removing some plugins, but that didnt work either.
 * My site is: [http://techunfolding.com/site](http://techunfolding.com/site)
 * Any help would be great. Thanks.

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

 *  [Samuel B](https://wordpress.org/support/users/samboll/)
 * (@samboll)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/database-error-on-some-posts/#post-1408851)
 * sure sounds like your `wp_options` table is crashing in the database
    but you
   used phpmyadmin and ran a “repair” and it didn’t help?
 *  Thread Starter [techunfolding](https://wordpress.org/support/users/techunfolding/)
 * (@techunfolding)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/database-error-on-some-posts/#post-1408854)
 * ya now that you say that the wp-options table says its in use.
 * How do i run a repair in phpmyadmin?
 *  Thread Starter [techunfolding](https://wordpress.org/support/users/techunfolding/)
 * (@techunfolding)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/database-error-on-some-posts/#post-1408856)
 * Its ok found it out. Thanks a lot samboll!
 * You were right the wp-options table needed to be repaired. Just selected the 
   table and clicked repair. Worked great.
 *  [Samuel B](https://wordpress.org/support/users/samboll/)
 * (@samboll)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/database-error-on-some-posts/#post-1408857)
 * you’re quick :>)

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

The topic ‘Database Error on some posts’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 2 participants
 * Last reply from: [Samuel B](https://wordpress.org/support/users/samboll/)
 * Last activity: [16 years, 2 months ago](https://wordpress.org/support/topic/database-error-on-some-posts/#post-1408857)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
