Go Back   HostGator Peer Support Forums > Public Forums > Pre-Sales Questions

Notices

Reply
 
Thread Tools
  #1  
Old 04-01-2004, 10:08 AM
daveway daveway is offline
Hatchling Croc
 
Join Date: Mar 2004
Posts: 9
Default

I've got a MySQL database of around 20MB that I need to upload to an account, but everytime I use the PHPMyAdmin interface it times out and gives an error saying something like "the 300 second connection time exceeded" or some such. I've tried piecing out the tables into different files, but even a 5MB file times out. Is there some way I could just FTP the files to the server and then upload them from their into the database? Or is there another way I can get my data into the db?

Thanks

-DaveWay
__________________
DaveWay Media
"Web Hosting The Modern Way"

http://www.davewaymedia.com
Reply With Quote
  #2  
Old 04-01-2004, 10:59 AM
jafler jafler is offline
Hatchling Croc
 
Join Date: Mar 2004
Posts: 5
Default

Maybe this'll help? Be sure you have created the db then in cPanel go to "backup" and restore the database. (upload it from your harddrive) I really don't know if it'll work at all, it's just a suggestion. . . .
Reply With Quote
  #3  
Old 04-01-2004, 11:33 AM
daveway daveway is offline
Hatchling Croc
 
Join Date: Mar 2004
Posts: 9
Default

That's a good suggestion - but I'm trying to move the database from another server. And I believe the restore backup function is for backups created via Cpanel. I'm using MySQL front to generate an export file, which I have succeded in importing using Cpanel but only with a very small file. So I have an external db that I want to move to Cpanel.

Thanks
__________________
DaveWay Media
"Web Hosting The Modern Way"

http://www.davewaymedia.com
Reply With Quote
  #4  
Old 04-20-2004, 01:39 PM
Joshhighland Joshhighland is offline
Hatchling Croc
 
Join Date: Apr 2004
Posts: 2
Default

I had the same problem when i moved hosts. I found the solution by useing a php script called bigdump. it rules

http://www.ozerov.de/bigdump.php

check it out, its what you are looking for

--Josh Highland
notPopular.com
Reply With Quote
  #5  
Old 04-20-2004, 03:21 PM
daveway daveway is offline
Hatchling Croc
 
Join Date: Mar 2004
Posts: 9
Default

Wow - that would have been great. I ended up using MySQL Front to connect and upload. It keeps a connection open for as long as you need which was great. But this little script will come in handy later on.

Thanks

-DaveWay
__________________
DaveWay Media
"Web Hosting The Modern Way"

http://www.davewaymedia.com
Reply With Quote
  #6  
Old 04-21-2004, 02:17 AM
NewGuy NewGuy is offline
Hatchling Croc
 
Join Date: Apr 2004
Posts: 26
Default

Josh, that script is a godsend. Thanks for sharing!
Reply With Quote
  #7  
Old 04-21-2004, 03:49 PM
Joshhighland Joshhighland is offline
Hatchling Croc
 
Join Date: Apr 2004
Posts: 2
Default

Quote:
Originally Posted by NewGuy
Josh, that script is a godsend. Thanks for sharing!
im glad that it helped someone out. I was having the same problem the last time i moved servers. I was pulling my hair out and i started to write a script to do something like this when i stumbled across someone that had already written one!
Reply With Quote
Reply

Bookmarks

Thread Tools

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 Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Restoring a large MySQL Database with cPanel - help? Rosie Pre-Sales Questions 25 09-30-2008 08:44 AM
[Open] Backing up MySql database ravigsc Shared Hosting Support 0 07-06-2004 08:39 AM
[Closed] MySql Database dissapeared o0CAPPI0o Shared Hosting Support 1 05-29-2004 01:02 AM
Backing up Mysql Database spiritwolf Shared Hosting Support 1 05-24-2003 04:51 PM

All times are GMT -6. The time now is 04:18 AM.