Title: Database errors &#8211; Incorrect file format
Last modified: August 20, 2016

---

# Database errors – Incorrect file format

 *  [patrea](https://wordpress.org/support/users/patrea/)
 * (@patrea)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/database-errors-incorrect-file-format/)
 * When I access my WordPress Blog in a browser I am given the message –
 * ‘Error establishing a database connection’
 * I enabled automatic repair of the database tables within my wp-config, as instructed,
   and ran the repair function. However, it says that some database problems cannot
   be repaired and that I should post the errors here –
 * wp_posts: Incorrect file format ‘wp_posts’
    wp_comments: Incorrect file format‘
   wp_comments’ wp_options: Incorrect file format ‘wp_options’
 * Can anyone help me?

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

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/database-errors-incorrect-file-format/#post-3073118)
 * Do you have a recent database backup?
 *  Thread Starter [patrea](https://wordpress.org/support/users/patrea/)
 * (@patrea)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/database-errors-incorrect-file-format/#post-3073120)
 * I’m afraid not.
 * I have checked the database details over and over in wp-config and there is not
   problem there. It just seems to be these tables.
 * Thanks
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/database-errors-incorrect-file-format/#post-3073125)
 * I’m afraid it looks like your database has been damaged. Try asking your hosts
   if they have a backup.
 *  Thread Starter [patrea](https://wordpress.org/support/users/patrea/)
 * (@patrea)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/database-errors-incorrect-file-format/#post-3073157)
 * They tell me they don’t have a backup but have set the technical team onto the
   issue.
 * Thanks esmi!

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

The topic ‘Database errors – Incorrect file format’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 2 participants
 * Last reply from: [patrea](https://wordpress.org/support/users/patrea/)
 * Last activity: [13 years, 8 months ago](https://wordpress.org/support/topic/database-errors-incorrect-file-format/#post-3073157)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
