Today's Posts Follow Us On Twitter! TFL Members on Twitter  
Forum search: Advanced Search  
Navigation
Marketplace
  Members Login:
Lost password?
  Forum Statistics:
Forum Members: 24,254
Total Threads: 80,792
Total Posts: 566,472
There are 1703 users currently browsing (tf).
 
  Our Partners:
 
  TalkFreelance     Business and Website Management     Web Hosting and Domain Names :

What's the best way to import a large database? (Over 500mbs)

Thread title: What's the best way to import a large database? (Over 500mbs)
Closed Thread    
    Thread tools Search this thread Display Modes  
05-09-2005, 02:03 AM
#1
DateinaDash is offline DateinaDash
Status: The BidMaster
Join date: Nov 2004
Location: England
Expertise:
Software:
 
Posts: 10,821
iTrader: 0 / 0%
 

DateinaDash is on a distinguished road

  Old  What's the best way to import a large database? (Over 500mbs)

Usually importing anything over around 10mbs times out through the browser interface, what other options are available to import large databases? Would I have to use SSH or telnet or something?

05-09-2005, 03:08 AM
#2
sysblnk is offline sysblnk
Status: I love this place
Join date: Mar 2005
Location:
Expertise:
Software:
 
Posts: 640
iTrader: 0 / 0%
 

sysblnk is on a distinguished road

  Old

I dont have much experience with this but back when I owned talkdevelopment.com way back when I used IPB I had to do something similar as it had a large database. I ended up using SSH through cpanel.

05-09-2005, 09:05 AM
#3
Adam is offline Adam
Adam's Avatar
Status: Member
Join date: Jan 2005
Location:
Expertise:
Software:
 
Posts: 433
iTrader: 0 / 0%
 

Adam is on a distinguished road

  Old

you would need to do it via ssh

upload it via ftp (or even ftp from the other server)

then use ssh and mysql commands to import it.

you could break it up into 2 mb chunks and upload it bit by bit

you can use this command, it should restore the db
Code:
mysql -u user -p dbname < /path/to/backup.sql

05-09-2005, 09:11 AM
#4
sysblnk is offline sysblnk
Status: I love this place
Join date: Mar 2005
Location:
Expertise:
Software:
 
Posts: 640
iTrader: 0 / 0%
 

sysblnk is on a distinguished road

  Old

Originally Posted by Adam
you could break it up into 2 mb chunks and upload it bit by bit
That reminds me when I manually copied and pasted Queries into phpMyAdmin a few lines at time. Boy was that time consuming!

05-09-2005, 02:52 PM
#5
Chris Gwynne is offline Chris Gwynne
Status: Sin Binner
Join date: Jan 2005
Location: Wales
Expertise:
Software:
 
Posts: 76
iTrader: 0 / 0%
 

Chris Gwynne is on a distinguished road

Send a message via AIM to Chris Gwynne Send a message via MSN to Chris Gwynne Send a message via Yahoo to Chris Gwynne

  Old

SSH it would be the best way.

Closed Thread    


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

  Posting Rules  
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump:
 
  Contains New Posts Forum Contains New Posts   Contains No New Posts Forum Contains No New Posts   A Closed Forum Forum is Closed