MyBB Community Forums

Full Version: SQL Error: 1146
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
MyBB has experienced an internal SQL error and cannot continue.

SQL Error:
1146 - Table 'adincel_ingilizcepratiknetmybb.mybb_threads' doesn't exist
Query:
SELECT * FROM mybb_threads WHERE tid='98817'

website: http://www.ingilizcepratik.net/thread-98817.html

Is there anyway to fix this? I had 60000 users forum. Unfortunately, my website has been hacked. I have backup databases, but alas they are not functioning properly... I don't know what to do, any suggestions ???

Appreciated your hard work Team.
Thanks,
Are you trying to use a MyBB 1.2 plugin??
NO! Actually, I have been trying to restore the database but it keeps giving me this error:

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

SQL Error:
1146 - Table 'adincel_ingilizcepratiknetmybb.mybb_sessions' doesn't exist
Query:
DELETE FROM mybb_sessions WHERE ip='169.241.61.254'

http://www.ingilizcepratik.net/
So should I install 1.2 first and then upgrade to 1.4? Do you think that would solve the problem?
No Solution?
(2010-04-13, 06:08 PM)ExCLuSiVe Wrote: [ -> ]No Solution?

No, we're just not here 24/7 to respond within minutes Smile

Misread the original error slightly, isn't an issue with a 1.2 plugin. Are you sure your database details are correct in ./inc/config.php?? If its saying they all don't exist, the forum can't be loading from the right database.
database I restored and .inc/config.php are matching. The only problem is database missing Mybb_sessions.php

http://www.ingilizcepratik.net/

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

SQL Error:
1146 - Table 'adincel_ingilizcepratiknetmybb.mybb_sessions' doesn't exist
Query:
DELETE FROM mybb_sessions WHERE ip='169.241.63.228'
Query isn't clear.. I don't understand the following solution...

DELETE FROM mybb_sessions WHERE ip='169.241.63.228'
It's just deleting from the sessions table where the IP is 169.241.63.228...

The backup looks fine, not a lot of data in it though. When you look in phpMyAdmin can you physically see the tables and rows inside the tables?? If you can then you've just got a setting wrong somewhere.
What i did is,
I installed fresh Mybb forum and then...

...Control panel/ Back up/ find back up file / Upload the DB.

That what i did..

so what else do i need?