vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Problem restoring a db (https://vborg.vbsupport.ru/showthread.php?t=56130)

M1th 08-12-2003 12:56 PM

Problem restoring a db
 
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


All times are GMT. The time now is 10:58 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01022 seconds
  • Memory Usage 1,709KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete