vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   Can I change Mysql database?. (https://vborg.vbsupport.ru/showthread.php?t=236696)

neiljedmonds 02-23-2010 04:01 PM

Can I change Mysql database?.
 
Hi,
I have had to renistall my forum and although I made Mysql Backups they would not reinstall for various reasons.

Now my hosting company have managed to install the database onto my local host but my Vbulletin forum is still using the "Empty"database that I used for the install (so no users,messages etc).I have two databases the empty one my forum is using and my old one with the information I need.

I have looked at the tables and users etc all seems to be there but how do I transfare the information from my installed backup to the "empty"one I currently have.

Normally I would just do a backup and and import but that wont work so is there a way I can take across the tables.

Cheers

Neil

borbole 02-23-2010 04:11 PM

Update the config.php file with the new db info that holds your data and you should be all set.

neiljedmonds 02-24-2010 06:32 AM

Thanks,for the info I have done what you said and I have all the data running.

Can anyone confirm what is the best method to back up the database,I us PhpMyAdmin but whenever I try to use the database I get different errors.

Neil

borbole 02-24-2010 09:27 AM

Quote:

Originally Posted by neiljedmonds (Post 1990165)
Thanks,for the info I have done what you said and I have all the data running.

Can anyone confirm what is the best method to back up the database,I us PhpMyAdmin but whenever I try to use the database I get different errors.

Neil

You are welcome :)

How mb is your db because some hosts have file size limit restriction in their servers. Do you have ssh access? If you do, have a look here:

http://www.vbulletin.com/docs/html/m...nce_ssh_backup

If you don''t, then try mysqldumper. It handles very nicely large files, for backing them and/or restoring them.


All times are GMT. The time now is 04:21 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.00990 seconds
  • Memory Usage 1,714KB
  • 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)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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