MyBB Community Forums

Full Version: MyBB SQL Error
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
This is what I see when trying to load up the forum.I can not see the forum at all.It is at version 1.6.3

MyBB has experienced an internal SQL error and cannot continue.

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

I then looked in the cPANEL SQL database and find the following.The rest are ok.

It appears that I was hacked?

politica_smf2.mybb_sessions
warning : Table is marked as crashed
warning : 2 clients are using or haven't closed the table properly
error : Found 735 keys of 740
error : Corrupt

politica_smf2.mybb_threads
warning : 1 client is using or hasn't closed the table properly

This my forums URL

First time this has happened in the 2 1/2 years of the forums existence.

I have no idea how to fix this problem.Can anyone help me?
Run the following query in phpmyadmin or similar.

Repair table mybb_sessions;

You might also want to change the table engine to memory to prevent this from happening again.
I did the Query suggestion.It worked.The forum is now back online and appear to be good.

Thank you.