Title: Database Error (Errcode: 2)
Last modified: August 18, 2016

---

# Database Error (Errcode: 2)

 *  [exitcreative](https://wordpress.org/support/users/exitcreative/)
 * (@exitcreative)
 * [18 years, 6 months ago](https://wordpress.org/support/topic/database-error-errcode-2-3/)
 * Please help!
 * My family’s photoblog is down-ish right now, and it’s showing the following error:
 * WordPress database error: [File ‘./exitcrea_wp_2/wp_comments.MYD’ not found (
   Errcode: 2)]
 * I’ve gone into the database admin area and tried to repair the table, but it 
   keeps saying that the table is “In use”, or returns the error code above.
 * The blog is at: [http://exitcreative.net/todayin/](http://exitcreative.net/todayin/)
 * What should I do? Can someone help?

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

 *  [Jeremy Clark](https://wordpress.org/support/users/jeremyclark13/)
 * (@jeremyclark13)
 * [18 years, 6 months ago](https://wordpress.org/support/topic/database-error-errcode-2-3/#post-658826)
 * Try deactivating any comment plugins as it seems that might be the culprit. Then
   activate them one at a time and see which one is causing the error.
 *  Thread Starter [exitcreative](https://wordpress.org/support/users/exitcreative/)
 * (@exitcreative)
 * [18 years, 6 months ago](https://wordpress.org/support/topic/database-error-errcode-2-3/#post-658861)
 * Thanks, Jeremy. I will check it out. Is the “In Use” message your clue as to 
   the idea that it might be a plugin causing the error?
 *  Thread Starter [exitcreative](https://wordpress.org/support/users/exitcreative/)
 * (@exitcreative)
 * [18 years, 6 months ago](https://wordpress.org/support/topic/database-error-errcode-2-3/#post-658863)
 * Okay, didn’t work.
 * Just FYI, I just tried to look at the comments DB and this is what it gave me:
 *     ```
       Error
   
       SQL query: Edit
   
       SHOW INDEX FROM <code>wp_comments</code> ;
   
       MySQL said: Documentation
       #1105 - File './exitcrea_wp_2/wp_comments.MYD' not found (Errcode: 2)
       ```
   
 * If I want to just start over with a new comments DB, with no information in it(
   obviously this would result in me losing all my comments, but that’s OK in this
   case), how would I go about doing that?
 *  [Jeremy Clark](https://wordpress.org/support/users/jeremyclark13/)
 * (@jeremyclark13)
 * [18 years, 6 months ago](https://wordpress.org/support/topic/database-error-errcode-2-3/#post-658958)
 * Since you have an older version anyway, why not upgrade to the latest version
   in the 2.0 series. You can download the latest from [here](http://wordpress.org/download/legacy/).
   Just make sure you [backup everything](http://codex.wordpress.org/WordPress_Backups).
   Then try [upgrading](http://codex.wordpress.org/Upgrading_WordPress), if it doesn’t
   help report back here and we’ll go from there.

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

The topic ‘Database Error (Errcode: 2)’ is closed to new replies.

## Tags

 * [(Errcode: 2)](https://wordpress.org/support/topic-tag/errcode-2/)
 * [Database Error](https://wordpress.org/support/topic-tag/database-error/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 2 participants
 * Last reply from: [Jeremy Clark](https://wordpress.org/support/users/jeremyclark13/)
 * Last activity: [18 years, 6 months ago](https://wordpress.org/support/topic/database-error-errcode-2-3/#post-658958)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
