Php:phpmyadmin How to troubleshoot a local import file (database) with a 2M limit

Source: Internet
Author: User

Experience Address: http://jingyan.baidu.com/article/e75057f2a2288eebc91a89b7.html

When we export the database from others in the local import, because the database file is larger than 2M and phpMyAdmin import can not be imported, the main reason is phpMyAdmin limit the import file maximum 2M, then how to solve it?

This method is the local import method, the virtual host can not be ********

The first step is to find the uplod_max_filesize in the php.ini configuration file and change the default 2M to the size of the file you want to import, such as 15M

The second step, find Post_max_size in the php.ini configuration file, change the default 8M to the size of the file you want to import, such as 15M

The third step, find the Memory_limit in the php.ini configuration file, change the default 128M to the size of the file you want to import, if it is larger than the import file size, do not change

Complete, you can import more than 2M of files,

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.