Results 1 to 5 of 5

Thread: MySQL Import Script

  1. #1
    Registered Mike's Avatar
    Join Date
    May 2003
    Location
    UK
    Posts
    2,755

    MySQL Import Script

    Hi all,

    I've got a huge mysql database file that I need to import into another database. It's too big to import through phpmyadmin, so does anyone know a php script or something that can do it?

    Thanks,
    Mike
    Don't you just love free internet games ?

  2. #2
    Administrator Chris's Avatar
    Join Date
    Feb 2003
    Location
    East Lansing, MI USA
    Posts
    7,055
    a php script would have the same limitations, namely php's max file size limit. Remember, phpmyadmin IS a php script.

    The easiest way to do this is to upload it via FTP then import it via the shell.

    However, if you do not have shell access, perhaps try breaking the file into small chunks.
    Chris Beasley - My Guide to Building a Successful Website[size=1]
    Content Sites: ABCDFGHIJKLMNOP|Forums: ABCD EF|Ecommerce: Swords Knives

  3. #3
    Registered Xander's Avatar
    Join Date
    Oct 2004
    Location
    UK
    Posts
    263
    The easiest way is to do as Chris said above, however if you don't have shell access try BigDump (http://www.ozerov.de/bigdump.php), does large imports in a staged manner.

  4. #4
    I see mildly ill people. AmbulanceBlues's Avatar
    Join Date
    Aug 2006
    Location
    Houston
    Posts
    119
    Could you remotely connect to your database and replicate it with a php script run on your new host? Record for record, or small chunks at a time?
    --> --> --> --> --> -->

  5. #5
    Registered Mike's Avatar
    Join Date
    May 2003
    Location
    UK
    Posts
    2,755
    I think it looks like Shell could be the option, cheers guys.
    Don't you just love free internet games ?

Similar Threads

  1. Replies: 0
    Last Post: 08-03-2006, 01:51 AM
  2. Clear my misunderstanding: 1 MySQL database for many programs?
    By iKwak in forum Website Programming & Databases
    Replies: 4
    Last Post: 08-21-2005, 10:40 AM
  3. Replies: 0
    Last Post: 02-27-2005, 10:43 PM
  4. Replies: 2
    Last Post: 02-20-2005, 11:30 PM
  5. biz-directory script
    By Percept in forum General Management Issues
    Replies: 0
    Last Post: 07-02-2004, 01:22 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •