SQL Error: Missing wp_comments Table
-
One one of my WordPress 2.02 weblogs in which I have comments disabled and have made no changes other than posting articles for weeks, I started getting these two error messages at the top of the admin pages when I log in:
WordPress database error: [Can’t open file: ‘wp_comments.MYI’ (errno: 145)]
SELECT COUNT(*) FROM wp_comments WHERE comment_approved = ‘0’WordPress database error: [Can’t open file: ‘wp_comments.MYI’ (errno: 145)]
SELECT COUNT(comment_ID) FROM wp_comments WHERE comment_approved = ‘spam’If I go into MySQL and click on the wp_comments database table, I get a similar error:
#1016 – Can’t open file: ‘wp_comments.MYI’ (errno: 145)
That table from the database is gone. Or at least it appears to be. I’ve not found anything similar here by searching the forums or codex.
I can post just fine, but this error message has been consistent for the last few days. I’ve not yet tried to restore the database from a backup. Any thoughts on what this might be?
- The topic ‘SQL Error: Missing wp_comments Table’ is closed to new replies.