MyBB Community Forums

Full Version: Board down posts not working: MySQL error. Please help
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Just got home today from work and whenever I try to click on any of the posts on the board or threads I get the following error:

mySQL error: 1016
Can't open file: 'mybb_posts.MYI'. (errno: 145)
Query: SELECT tid,uid FROM mybb_posts WHERE uid='1' AND tid IN(775,774,1035,1038,1019,957,948,926,927,884,779,854,817,776,778,600,599,457,437,400)

If I go into phpmyadmin and try to browse the mybb_posts template I get the following error:

#1016 - Can't open file: 'mybb_posts.MYI'. (errno: 145) 

Any idea what's going on? I haven't made any changes and I'm using mybb 1.04 (just noticed 1.1 is out now). I tried optimizing the DB from the admin panel but that didn't do anything.

Thank you for any help.
That error could be caused by a corrupted database file. Please try to repair all tables via phpMyAdmin.
Thank you so much. That fixed it.