MyBB Community Forums

Full Version: SQL Error Help
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I have just gone to my website for the first time today and got this message. Does anyone know how to correct this please?


Quote:SQL Error:
145 - Table './wt_wirraltalk/mybb_sessions' is marked as crashed and should be repaired
Query:
SELECT * FROM mybb_sessions WHERE sid='a9d56914423d65a1cef73a1d656b68b2' AND ip='176.253.232.41' LIMIT 1
Run the following SQL query in your phpMyAdmin;
REPAIR TABLE `mybb_sessions`;
Thanks Yalderam. Just tried that and it says "You have to choose at least one column to display" what column do they mean?
You probably are running in incorrect database. Go to: CPanel > Database Management > phpMyAdmin > Select your forum's database > Click on SQL tab > and then paste the above query and hit Go.
Excellent help as always thanks so much Yaldaram Smile