Unable Import Database larger than 32mb

Discussion in 'Databases' started by danmon, Feb 14, 2012.

  1. #1
    Hi guys
    Am trying to import a database that is around 100mb and when phpMyAdmin has a 32mb restriction.
    I believe I need to you the sql command line since that wont have any size restrictions.
    Can anyone help me with this.
    Thanks
    Dan
     
    danmon, Feb 14, 2012 IP
  2. spaculus

    spaculus Peon

    Messages:
    187
    Likes Received:
    1
    Best Answers:
    1
    Trophy Points:
    0
    #2
    Make changes in Php.ini file set upload_max_filesize=100M and Post_max_size=100M
     
    spaculus, Feb 16, 2012 IP
  3. spaculus

    spaculus Peon

    Messages:
    187
    Likes Received:
    1
    Best Answers:
    1
    Trophy Points:
    0
    #3
    After that Restart server...
     
    spaculus, Feb 16, 2012 IP
  4. BigTim3

    BigTim3 Guest

    Messages:
    266
    Likes Received:
    1
    Best Answers:
    2
    Trophy Points:
    0
    #4
    you need to use SSH or bigdump to import a big DB like that for best results.
     
    BigTim3, Feb 17, 2012 IP
  5. kingwinbond

    kingwinbond Greenhorn

    Messages:
    38
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    16
    #5
    Hello ,

    You can use the SQL command line to restore the database . Before that edit the my.ini file and set the max_allowed_packet=100M . Also increase the wait_timeout and connect_timeout parameters .
     
    kingwinbond, Feb 20, 2012 IP
  6. StormInternet

    StormInternet Peon

    Messages:
    46
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Hi,

    You need SSH access of your server to make changes in config file of MySQL my.cnf
    But if you are on a shared hosting server then you can not modify its my.cnf
    Its your server administrator who can get this done for you
     
    StormInternet, Feb 23, 2012 IP
  7. StormInternet

    StormInternet Peon

    Messages:
    46
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Or,

    You can do one thing, connect your database using tools like MySQL-Front, SQL-Yog etc. and here you can import your backup file even though its large in size
     
    StormInternet, Feb 23, 2012 IP
  8. joshuthomas

    joshuthomas Well-Known Member

    Messages:
    595
    Likes Received:
    9
    Best Answers:
    1
    Trophy Points:
    140
    #8
    joshuthomas, Feb 23, 2012 IP