vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Database (https://vborg.vbsupport.ru/showthread.php?t=250779)

jkcerda 09-18-2010 09:23 PM

Database
 
how can I replace ONE database with another?

can I just mess with the config file to use the new DB?
do I need to do anything to a downloaded DB in order for this to work?

trying to get my test forum working with my back up DB.

if you used WAMP before, WHERE is the DB that gets created located?

thanks.:o

--------------- Added [DATE]1284854848[/DATE] at [TIME]1284854848[/TIME] ---------------

any help here?
getting this error

MySQL says:
Variable 'character_set_client' can't be set to the value of 'NULL'

Error in Query:


Quote:

/*!40101 SET character_set_client = @saved_cs_client */; -> Variable 'character_set_client' can't be set to the value of 'NULL'
using bigdump

ctweb 09-19-2010 02:33 PM

Most probably "@saved_cs_client" variable isn't defined.

Remove that SET character_set_client line from the SQL/query and try..

As for your earlier question, it's best to create a new db, and change the config details. If you overwrite your existing database, then you wont have a backup in case something goes wrong..

If you have the option to create a new DB, go for it.. On WAMP, do you have phpmyadmin installed? It's one of the best ways to administer your databases.. There are other windows based tools too.. phpmyadmin is web based though..

jkcerda 09-19-2010 03:03 PM

Quote:

Originally Posted by ctweb (Post 2100541)
Most probably "@saved_cs_client" variable isn't defined.

Remove that SET character_set_client line from the SQL/query and try..

As for your earlier question, it's best to create a new db, and change the config details. If you overwrite your existing database, then you wont have a backup in case something goes wrong..

If you have the option to create a new DB, go for it.. On WAMP, do you have phpmyadmin installed? It's one of the best ways to administer your databases.. There are other windows based tools too.. phpmyadmin is web based though..

it was easier than that. I tried a few utilities, I used the same dumper to make a back up on my live DB as I did to restore my test DBon my laptop, THAT, worked, guessing the dumper was not recognizing or had trouble with the compression of the DB backups I had.

anyways, its working now, thanks for your help.

ctweb 09-19-2010 03:42 PM

No worries.. Glad you got it working.. :)

jkcerda 09-19-2010 03:43 PM

Quote:

Originally Posted by ctweb (Post 2100581)
No worries.. Glad you got it working.. :)

pretty happy, all the noobs like myself should have a test board IMHO,

ARSamo 10-01-2011 09:40 AM

I am also facing the same problem......., plz suggest me what can i do.....

Agathadaimon 10-01-2011 09:55 AM

Quote:

Originally Posted by ARSamo (Post 2251910)
I am also facing the same problem......., plz suggest me what can i do.....

Receive an error when loading backup?


All times are GMT. The time now is 02:17 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
  • Page Generation 0.01696 seconds
  • Memory Usage 1,723KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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