25
Jan
07

WordPress database error: errno 13

Error messages are always a worrying sight, but thankfully this one was easily dealt with. Here’s the message I was seeing today on my newly upgraded to Wordpress v2.1 blog:

WordPress database error: [Can't find file: './homedir/wp_comments.frm' (errno: 13)] SELECT foo FROM bar WHERE …

A quick google tells me that it’s a MySQL error, and can be fixed with a simple MySQL command REPAIR TABLE wp_comments; (replacing wp_comments with the relevant table name if that’s not the right one). Alternatively you can do a repair within phpMyAdmin if GUIs are your thing.

I wonder whether this was related to my playing around with different themes, and the associated compromise of database integrity, or if it was related to the upgrade from 2.0.7 to 2.1…

Technorati Tags: , , , , , , , ,


0 Responses to “WordPress database error: errno 13”


  1. No Comments

Leave a Reply