database error: [Can’t open file: ‘wp_comments.MYI’ (errno: 145)]
-
I’ve recently upgraded to 2.0.7, and my site has been running smoothly with Akismet, Bad Behavior, and Worst Offenders as my screen against spam.
This morning I went to the Dashboard, /wp-admin/index.php, which I *can* access, and at the top are two error messages.
‘
'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''More abbreviated versions of these messages appear in the Latest Activity box. If I click on the link for the number of comments, which is supposed to take me to Akismet’s suspected spam page…
Spam
Akismet has protected your site from 2,726 spam comments.… I get a page with the same two error messages, followed by the line:
You do not have sufficient permissions to access this page.
Which means I cannot access any of my administrative functions. The tab bar that would be at the top of the Dashboard page is totally missing. The links to other admin functions (/wp-admin/edit-comments.php, edit.php, themes.php, etc.) give *only* the same error messages and
“You do not have sufficient permissions to access this page.”
Apparently I have no functional administrative access. HELP!
My best guess is that one of the many spams that have been hitting my page managed to trigger this glitch. When I last looked, I had a dozen in the Akismet page, none of them in numbers above the default thresholds set by Worst Offenders. I think there are perhaps a dozen more spams, by the count given above, as I think we had just tripped past 2700 on the odometer. (Perhaps there are one or more clogged up in the machinery?)
I have very little idea of how to proceed in cleaning up this mess. It seems I don’t have administrative access to any page other than the Dashboard. I can’t turn off the plug-ins, for example.
At the bottom of any particular blog entry, above the Post a Comment part, is the following error message:
‘
'WordPress database error: [Can't open file: 'wp_comments.MYI' (errno: 145)]
‘
SELECT * FROM wp_comments WHERE comment_post_ID = '102' AND ( comment_approved = '1' OR ( comment_author = 'Kirk' AND comment_author_email = '[email protected]' AND comment_approved = '0' ) ) ORDER BY comment_date'Using another browser, which is not logged into the blog, the same comments section shows this message:
‘
'WordPress database error: [Can't open file: 'wp_comments.MYI' (errno: 145)]
‘
SELECT * FROM wp_comments WHERE comment_post_ID = '102' AND comment_approved = '1' ORDER BY comment_date'Submitting a test comment from there gives a whole page of error messages. (I can supply these if anyone wants to see them.) I don’t know how much further damage can be caused by more such testing, but the blog is at
https://www.strecorsoc.org/scs/
Thanks in advance for your help. This is the sort of thing where I start to throw up my hands in despair. Your hard work has made my blogging “almost” effortless and a lot of fun, and in times like these I can see how much I take for granted.
- The topic ‘database error: [Can’t open file: ‘wp_comments.MYI’ (errno: 145)]’ is closed to new replies.