News:

Join the Facebook Fan Page.

Main Menu

database got deleted

Started by SISPro, November 15, 2010, 10:14:30 PM

Previous topic - Next topic

SISPro

i ran into a problem with my site

my host some how or what ever my database got deleted so i imported my back up one that i made using the smf one in the board now i have a problem

when i imported it i got this error

Error
SQL query:

-- -- Dumping data in `smf_log_search_subjects` -- INSERT INTO `smf_log_search_subjects` (`word`, `id_topic`) VALUES ('#2', 638), ('№4', 356), (0, 164), (0, 831), (0, 834), (0, 836), (0, 840), (0, 841), (0, 902), (0, 1522), (00, 1047), (001, 600), (007, 502), (04, 841), (1, 164), (1, 165), (1, 649), (1, 654), (1, 682), (1, 808), (1, 831), (1, 834), (1, 838), (1, 902), (1, 952), ('1-2', 650), ('1-2', 655), ('1-2', 657), ('1-2', 658), ('1-3', 656), (10, 841), (10, 1171), (100, 878), (100, 1047), ('100\'s', 1429), (1000, 1318), (1000, 1321), (10000, 842), (100319, 832), ('1024x768', 1195), (11, 765), (11, 835), (12, 1319), ('1280x960', 1193), (15, 29), ('1600x1200', 1196), (1659, 838), (17, 168), (18, 123), (18, 311), (18, 355), (18, 593), (18, 594), (18, 948), (18, 1041), (18, 1150), (18, 1452), ('18yo', 663), (19, 382), (19, 800), ('1920x1440', 775), [...]

MySQL said:

#1062 - Duplicate entry '4-841' for key 1



ok after that i kinda left it go and went to the site and on the main page it loaded this

Table 'dirtypor_smf203.smf_settings' doesn't exist

now i can't seem to find what is causing that problem i hate to lose my whole forum there is over 4000 post and the new members i do have now.

i was thinking of just putting the new 2-0-rc4 in but lot of the mods i have in there don't work with it  yet.


SISPro


Carb0n

Try removing the database and importing it via ssh.
I ban, Hack me!
www.google.com is your friend!
Visit www.hackhound.org for all your computer security needs!

Illori

not everyone has ssh or is on a dedicated server to have ssh. your admin control panel for your host should provide you the access to do what you want.

SISPro

i don't have that and not even sure what that is

is it able to lets say put up a new forum like 2.0.rc4 and then add stuff from my db to it like the forum topics members and so on

Deaks

can I ask is your db complete?  open your sql directory using notepad or such and make sure there is no error at the end
~~~~
Former SMF Project Manager
Former SMF Customizer

"For as lang as hunner o us is in life, in nae wey
will we thole the Soothron tae owergang us. In truth it isna for glory, or wealth, or
honours that we fecht, but for freedom alane, that nae honest cheil gies up but wi life
itsel."

SISPro


Antechinus

You can delete the data for that db table as it is not really necessary and the import might go smoother without it.

Advertisement: