Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 11-27-2005, 06:16 AM
torahtrance torahtrance is offline
 
Join Date: Jan 2005
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 49MB .sql -- how do i get it into the DB!!

I have an old backup that I need to get a style .xml file from. So i'm trying to use xampp windows ver to make a local site with the backup, but I can't figure out how to add the .sql file that is 49mb when phpmyadmin only allows files 16mb and smaller.

Anyone know a way to do this???

Reply With Quote
  #2  
Old 11-27-2005, 06:24 AM
Brandon Sheley's Avatar
Brandon Sheley Brandon Sheley is offline
 
Join Date: Mar 2005
Location: Google Kansas
Posts: 4,678
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

break it down ?
copy an past in chunks. stop at the ;
Reply With Quote
  #3  
Old 11-27-2005, 06:53 AM
LICryptkeeper LICryptkeeper is offline
 
Join Date: Jun 2003
Posts: 62
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hey, I had the same problem (it would timeout) I didnt think of loco's solution, how i ended up doing it was upload the sql via ftp, then ssh'ed into my server and injected it from there. it was the first time i ssh'ed but I caught on within 5 minutes (as long as you remember how to use dos you should be fine)
Reply With Quote
  #4  
Old 11-27-2005, 06:57 AM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No need to use phpMyAdmin on a local install. Install MySQL Administrator (www.mysql.com) and use that to load your backup. Or just use the windows commandline (see instructions on using SSH/Telnet, but just do that from your CMD prompt in windows).
Reply With Quote
  #5  
Old 11-27-2005, 09:13 AM
torahtrance torahtrance is offline
 
Join Date: Jan 2005
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

from cmd line... very nice ill give it all a try one step at a time!!! thanks guys

**EDIT** about 5% in it says using mysql administrator:
A wrong character set was specified.

and it fails there!

i used the cpanel backup system to backup everything, so I dont know what the problem could be.. is there a way around this?
i clicked ignore errors and build database names that don't exist
Reply With Quote
  #6  
Old 11-27-2005, 11:13 AM
steven s's Avatar
steven s steven s is offline
 
Join Date: Aug 2004
Location: Greenville, SC
Posts: 572
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

<a href="http://www.ozerov.de/bigdump" target="_blank">http://www.ozerov.de/bigdump</a> will break down a sql file into small chunks.
Reply With Quote
  #7  
Old 11-28-2005, 06:14 AM
torahtrance torahtrance is offline
 
Join Date: Jan 2005
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

*UPDATE* fixed it all!! just set it to do 6000 lines in 1 chunk instead of 10000. excellent

Quote:
Originally Posted by 1996 328ti
http://www.ozerov.de/bigdump will break down a sql file into small chunks.
Hey this script looks promising, except I just got this random error:
BigDump: Staggered MySQL Dump Importer ver. 0.21b
Processing file: forum_isratrade.sql

Starting at the line: 90001


Fatal error: Maximum execution time of 60 seconds exceeded in C:\Program Files\xampp\htdocs\bigdump.php on line 476
Reply With Quote
  #8  
Old 01-17-2006, 03:36 AM
wtrk wtrk is offline
 
Join Date: Jun 2005
Posts: 256
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by 1996 328ti
http://www.ozerov.de/bigdump will break down a sql file into small chunks.
bigdump rocks.
Reply With Quote
  #9  
Old 01-17-2006, 10:54 AM
DaFire DaFire is offline
 
Join Date: Apr 2003
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

if you have shell access you can just do

mysql -u<username> -p <dbname> < dumpfile.sql
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:46 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.08951 seconds
  • Memory Usage 2,236KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (9)postbit
  • (9)postbit_onlinestatus
  • (9)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete