How to Increase Import Size Limit in phpMyAdmin

前端 未结 19 1888
萌比男神i
萌比男神i 2020-12-02 04:58

Does anyone know if or how you can increase the import size limit in phpMyAdmin? Currently my server is limited to 50MB.

Please note that this is no

19条回答
  •  攒了一身酷
    2020-12-02 05:19

    Could you also increase post_max_size and see if it helps?

    Uploading a file through an HTML form makes the upload treated like any other form element content, that's why increasing post_max_size should be required too.

    Update : the final solution involved the command-line:

    To export only 1 table you would do

    mysqldump -u user_name -p your_password your_database_name your_table_name > dump_file.sql
    

    and to import :

    mysql -u your_user -p your_database < dump_file.sql 
    

    'drop table your_tabe_name;' can also be added at the top of the import script if it's not already there, to ensure the table gets deleted before the script creates and fill it

提交回复
热议问题