![]() |
MySQL DB Error
My forum being hacked, I have a MySQL Database back up and l did restored it via cpanel..
Everything got backed up but when l view my forum.. i got this error : There seems to have been a slight problem with the Xelation Forums database. Please try again by pressing the refresh button in your browser. An E-Mail has been dispatched to our Technical Staff, who you can also contact if the problem persists. We apologise for any inconvenience. |
View the source of that page to see the error. It's very unlikely it is being hacked.
|
It said :
mysql error: Table 'x-sector_vbforums.session' doesn't exist mysql error number: 1146 Date: Sunday 15th of February 2004 09:19:01 PM Script: http://www.x-sector.net/forums/ Referer: IP Address: **.***.*** --> |
Have you done anything recently that may have caused this? It seems your session table has bee deleted.
|
i would assume your missing your session table>_>see if its there and has the the prefix "x-sector_vbforums" in front of it
|
hm..
I didn't not deleted it, I just backed it up.. thats al.. |
Do you use a table prefix?
|
what do you mean by that?
|
There's an option in config.php to use a table prefix, so basically tables in the database such as user and session will have a prefix on them. If you do use one, maybe that might be causing the error.
What else did you do? |
I looked at my phpmyadmin.. there is no session/user tables in the database..
Awhile ago.. before my forum hacked, I just backed up my forum.. and now.. when my forum got hacked and l tried to restored it.. it has an error. Hmm.. how do l fix the errors using by table prefix ? |
Quote:
|
I did reuploaded the back up a lots of times, still got the same error..
|
hmmm.... if you have an sql file of your vb db you could manually insert the tables back in with an sql query.
|
Do you mean.. copy the session/user tables and run them in the phpmyadmin ?
|
well if you had a .sql file of your db it would contain all the tables and their seperate datas in sql queries, so bascially all you do is copy and paste the sql query for your user and session tables and run them in phpmyadmin's query window;)
|
Thanks for the help..
How did it happened? why did there is no session/user tables ... in the database? just wondering. |
hmm not sure, probably since it was a backup done by cpanel while it was reuploading it skipped over it or it was never backed up in the first place or an error occured when reinserting those tables and it just continued on reuploading , not inserting those 2 tables. i would also go over to vbulletin.com and find the full list of tables your susposed to have(wana make sure your not missing any others)
|
Is there any other way to back up the MySQL database execpt via cpanel?
|
yes, via admincp in vbulletin. import & maintenance->backup database
;) |
Cool, thanks!
|
Oh.. I did what AN-Net said, but i cant restore the database via cpanel cuz the database is too big..
how do l restore the database without the cpanel. thnx |
Do you have shell access?
If so: Upload the file, mysql -uusername -ppassword database < sqlfile.sql |
Whats shell access? and how to use it?
|
You don't have shell access - if you had it you would know for sure.
Sorry, seems you're out of luck. You could only ask your webhost to give you shell access |
I dunno, where do you use it? or is it like what a telnet did?
|
You can access a shell through telnet, although it is very insecure.
I'd rather use SSH2 if possible. |
how do you use it? and how do you get it connect to your server.
|
All times are GMT. The time now is 05:40 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|