MyBB Community Forums

Full Version: Error message at Dashboard
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I attempted to access the Dashboard in my Admin area and got this:

MyBB SQL Error
MyBB has experienced an internal SQL error and cannot continue.

SQL Error:
145 - Table './medicai1_mybb485/mybb_posts' is marked as crashed and should be repaired
Query:
SELECT COUNT(*) AS newposts FROM mybb_posts WHERE dateline > '1354640949' AND visible='1'
Please contact the MyBB Group for support.

------------------------------
Any help much appreciated! Thanks.
Go into phpMyAdmin on your hosting panel and find "mybb_posts" and check mark it, then go down and hit "Repair". Everything should be fine then.
I couldn't find a menu item that was named phpMyAdmin but clicked Optimize Database under Tools & Maintenance. I then selected "mybb_posts" and clicked Optimize Selected Tables, and it seems to have fixed the error! Thanks!
In the future, you should be able to access phpmyadmin via your web host's control panel (usually cPanel). You can then just run the following query from the SQL tab:

REPAIR TABLE mybb_posts;
Thanks! I apologize for my earlier post; I was actually looking at the wrong Forum and that method indeed did NOT work, but your C-panel process DID work! Much appreciated!!