MyBB Community Forums

Full Version: Huge MySQL Error
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
My whole site has shut down due to a mySQL error.

It says

MyBB SQL Error

MyBB has experienced an internal SQL error and cannot continue.

SQL Error:
    145 - Table './ipurchiz_mybb702/mybb_sessions' is marked as crashed and should be repaired
Query:
    DELETE FROM mybb_sessions WHERE uid='1' 

Please contact the MyBB Group for support.


I would appreciate it anyone could give me step by step advice how to fix my site as I am not very good with mysql.

Thanks in advance.
Run this in phpmyadmin:

REPAIR TABLE mybb_sessions
Thanks that got my homepage back Smile but now when I try to go into a thread this errors comes up.

MyBB SQL Error

MyBB has experienced an internal SQL error and cannot continue.

SQL Error:
    145 - Table './ipurchiz_mybb702/mybb_threadsread' is marked as crashed and should be repaired
Query:
    REPLACE INTO mybb_threadsread (tid, uid, dateline) VALUES('913', '1', '1325885946') 

Please contact the MyBB Group for support.
Now run

REPAIR TABLE mybb_threadsread

If it happens again, do this:

REPAIR TABLE mybb_tablename