Big SQL dump import

Discussion in 'MySQL' started by kalseo, Aug 4, 2008.

  1. #1
    Hello,

    I recently transfered my website on new web host. However one of my databases is more than 150 MB, i was wondering how to important that big database as i do not have shell access to my server, for sure MyphpAdmin will timeout if i try to import this. Any idea how i can import this big dump.

    Kind regards...
     
    kalseo, Aug 4, 2008 IP
  2. rohan_shenoy

    rohan_shenoy Active Member

    Messages:
    441
    Likes Received:
    20
    Best Answers:
    0
    Trophy Points:
    60
    #2
    Did you try uploading the SQL file?
     
    rohan_shenoy, Aug 4, 2008 IP
  3. alexandrehaguiar

    alexandrehaguiar Greenhorn

    Messages:
    21
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    11
    #3
    Try use big dump script http://www.ozerov.de/bigdump.php

    "BigDump: Staggered MySQL Dump Importer

    Staggered import of large and very large MySQL Dumps (like phpMyAdmin 2.x Dumps) even through the web servers with hard runtime limit and those in safe mode. The script executes only a small part of the huge dump and restarts itself. The next session starts where the last was stopped."
     
    alexandrehaguiar, Aug 4, 2008 IP
  4. klimu

    klimu Peon

    Messages:
    21
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    well there should be no problem if you upload the dump, login to mysql via shell and use "source dump" .. Also mysql has it's own import program that you can use.
     
    klimu, Aug 4, 2008 IP
  5. alexandrehaguiar

    alexandrehaguiar Greenhorn

    Messages:
    21
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    11
    #5
    Without shell access is very dificult to do this. Phpmyadmin has a very small file size limit. This script does the job very well.
     
    alexandrehaguiar, Aug 4, 2008 IP
  6. Trusted Writer

    Trusted Writer Banned

    Messages:
    1,370
    Likes Received:
    52
    Best Answers:
    0
    Trophy Points:
    160
    #6
    The right answer and, incidentally, stated as part of the thread's title.

    BigDump is a single-file solution that makes this job easier and you don't need shell access, just edit at the top of the file to match your MySQL connection (host, db username and db password), upload the file along with your sql file to your server via FTP and call the script from your browser's address bar to start the dump.
     
    Trusted Writer, Aug 4, 2008 IP
  7. Overclock099

    Overclock099 Notable Member

    Messages:
    3,648
    Likes Received:
    122
    Best Answers:
    0
    Trophy Points:
    280
    #7
    Yes..Use bigdump.. Its very easy to upload bid database..
     
    Overclock099, Aug 4, 2008 IP
  8. klimu

    klimu Peon

    Messages:
    21
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    I suppose I'm dyslexic.. :D
     
    klimu, Aug 4, 2008 IP
  9. narutoroot

    narutoroot Active Member

    Messages:
    97
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    50
    #9
    i had this problem to wat if u like hacked ur own website and inserted a shell script :p
     
    narutoroot, Aug 5, 2008 IP