PDA

View Full Version : Problem restoring a db


M1th
08-12-2003, 12:56 PM
Hey there,

I'm trying to restore am sql database on my computer but everytime I type in the command it gives an error saying BLOB blabla bbcodereplacement thing hasnt been set to a character limit (ie 200 usually I think). I remember changing the bbcodereplacement to MEDIUMTEXT or something like that to be able to add more characters to the bb code manager.

so my question is... any idea I could fix this WITHOUT having to change the character limit back and backing the database again?


any help would be appreciated. :)

SmEdD
08-12-2003, 03:19 PM
YA find the bbcode in the db backup and fix it with this

bbcodereplacement mediumtext NOT NULL,

If that don't work try

bbcodereplacement varchar(200) NOT NULL,

Then after it is uploaded you can fix it to medium text.

M1th
08-12-2003, 03:22 PM
Thanks but I know how to do that.. I was just wondering if there is any other way to fix this without having to backup the whole lot of db again. :)

SmEdD
08-12-2003, 05:28 PM
You don't have to do the whole DB again just edit the txt file.

M1th
08-12-2003, 09:38 PM
editing a 900Mb file would crash my comp.. ;)

SmEdD
08-12-2003, 09:47 PM
then make a backup of just bbcode into another file then upload that backup over the big one