phpmyadmin problem

Discussion in 'PHP/MySql' started by amber.long, Nov 13, 2009.

Remove these ads by signing in
Remove these ads by signing in
Thread Status:
Not open for further replies.
  1. amber.long New Member

    Member Since:
    Jun 20, 2009
    Message Count:
    29
    Likes Received:
    1
    hello everyone

    I have exported 20 mb sql file with phpmyadmin and when i trying to import that file with phpmyadmin it shows me this error

    You probably tried to upload too large file. Please refer to documentation for ways to workaround this limit.

    any one can please give me suggestion how can i solve this error?

    thanks in advance
  2. Adam H Administrator

    Member Since:
    Jan 7, 2008
    Message Count:
    2,801
    Likes Received:
    162
    Occupation:
    Web Developer
    Location:
    Norfolk Uk
    Yeah this happens quite alot , just submit a ticket to your host and ask them to upload it for you , they will do it no problem
  3. amber.long New Member

    Member Since:
    Jun 20, 2009
    Message Count:
    29
    Likes Received:
    1
    Thanks for help
    1 people like this.
  4. RDragos New Member

    Member Since:
    Nov 28, 2009
    Message Count:
    33
    Likes Received:
    0
    You can also try to divide the file, and import it separately.
  5. midlandi Can you smell that?

    Member Since:
    Jan 22, 2007
    Message Count:
    4,758
    Likes Received:
    33
    Location:
    Uk
  6. webtalk New Member

    Member Since:
    Nov 11, 2009
    Message Count:
    131
    Likes Received:
    0
    you can export large file with phpmyadmin, you can export it via ssh

    login via ssh
    than
    mysql -u user -p databasename tableiftable < /path/to/dump

    cheers
  7. midlandi Can you smell that?

    Member Since:
    Jan 22, 2007
    Message Count:
    4,758
    Likes Received:
    33
    Location:
    Uk
    Trouble is that alot of providers no longer allow ssh access on shared accounts.
  8. webtalk New Member

    Member Since:
    Nov 11, 2009
    Message Count:
    131
    Likes Received:
    0
    they will allow you if you have static ip, else you have to contact with your host to import
  9. expertsweb New Member

    Member Since:
    Oct 19, 2009
    Message Count:
    23
    Likes Received:
    0
    create custom php.ini in your root directory and add
    post_max_size = 100M and upload_max_filesize = 100M
Thread Status:
Not open for further replies.

Share This Page