Title: WordPress database error: incorrect file format for comments
Last modified: August 19, 2016

---

# WordPress database error: incorrect file format for comments

 *  [blogs-are-for-dogs](https://wordpress.org/support/users/blogs-are-for-dogs/)
 * (@blogs-are-for-dogs)
 * [18 years ago](https://wordpress.org/support/topic/wordpress-database-error-incorrect-file-format-for-comments/)
 * I’ve been away from my blog for a few weeks and haven’t touched a thing, but 
   am now getting a wordpress database error that my comments are in an incorrect
   form. Here’s the error message:
 * >  WordPress database error: [Incorrect file format ‘wp_comments’]
   >  SELECT COUNT(*)
   > FROM wp_comments WHERE comment_approved = ‘0’
 * I also get the following message:
 * > WordPress database error: [Incorrect file format ‘wp_comments’]
   >  SELECT comment_author,
   > comment_author_url, comment_ID, comment_post_ID FROM wp_comments WHERE comment_approved
   > = ‘1’ ORDER BY comment_date_gmt DESC LIMIT 5
 * I’ve tried to repair the database but the error seems to be with wordpress and
   not with my host. What else can I do?

The topic ‘WordPress database error: incorrect file format for comments’ is closed
to new replies.

## Tags

 * [Comments](https://wordpress.org/support/topic-tag/comments/)
 * [Database Error](https://wordpress.org/support/topic-tag/database-error/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [blogs-are-for-dogs](https://wordpress.org/support/users/blogs-are-for-dogs/)
 * Last activity: [18 years ago](https://wordpress.org/support/topic/wordpress-database-error-incorrect-file-format-for-comments/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
