how to upload a 87.5mb sql database

Discussion in 'MySQL' started by macau2009, Jan 12, 2009.

  1. #1
    I used bigdump.php, but fail. it said my file is too large. please help
     
    macau2009, Jan 12, 2009 IP
  2. SiteTalkZone

    SiteTalkZone Peon

    Messages:
    243
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Have you tried doing it though PHPMA? if you can't do it from your computer you could send the file to your hosting provider and ask them to do it.
     
    SiteTalkZone, Jan 12, 2009 IP
  3. mwasif

    mwasif Active Member

    Messages:
    816
    Likes Received:
    23
    Best Answers:
    1
    Trophy Points:
    70
    #3
    mwasif, Jan 12, 2009 IP
  4. bigbuxjohn

    bigbuxjohn Peon

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Pack it using winRar, split file into few parts, upload, unpack on server.
     
    bigbuxjohn, Jan 12, 2009 IP
  5. macau2009

    macau2009 Well-Known Member

    Messages:
    294
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    125
    #5
    macau2009, Jan 12, 2009 IP
  6. mwasif

    mwasif Active Member

    Messages:
    816
    Likes Received:
    23
    Best Answers:
    1
    Trophy Points:
    70
    #6
    Do you have shell access?
     
    mwasif, Jan 12, 2009 IP
  7. macau2009

    macau2009 Well-Known Member

    Messages:
    294
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    125
    #7
    yes, but i don't know how to use it.
     
    macau2009, Jan 12, 2009 IP
  8. nyxano

    nyxano Peon

    Messages:
    417
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    0
    #8
    An SQL Database is just a plain text file. Open the file with a text editor and split it into multiple pieces. Import each piece one at a time. I do this all the time with MySQL Databases that are too large. You can split the database any where so long as it is not in the middle of a command.
     
    nyxano, Jan 12, 2009 IP
  9. ~kev~

    ~kev~ Well-Known Member

    Messages:
    2,866
    Likes Received:
    194
    Best Answers:
    0
    Trophy Points:
    110
    #9
    ~kev~, Jan 12, 2009 IP
  10. mwasif

    mwasif Active Member

    Messages:
    816
    Likes Received:
    23
    Best Answers:
    1
    Trophy Points:
    70
    #10
    You can execute SQL statements in a file from shell like
    shell> mysql db_name < script.sql
    Code (markup):
     
    mwasif, Jan 12, 2009 IP
  11. macau2009

    macau2009 Well-Known Member

    Messages:
    294
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    125
    #11
    i will try this path. it seems workable.
     
    macau2009, Jan 12, 2009 IP
  12. Brandon Sheley

    Brandon Sheley Illustrious Member

    Messages:
    9,721
    Likes Received:
    612
    Best Answers:
    2
    Trophy Points:
    420
    #12
    Brandon Sheley, Jan 12, 2009 IP