MYSQL Import data size limit settings

Source: Internet
Author: User

Upload_max_filesize = 2M,//MAX upload display
Memory_limit = 128M;
Post_max_size = 8M. // if it is larger than upload_max_filesize,theupload_max_filesize setting will work.



The most straightforward solution of course is to modify the settings of the php.ini configuration file, that is, modify the default upload_max_filesize = 2M, memory_limit = 128M; Post_max_size = 8M. For example, if I want to upload a 27M SQL database file, it can be modified to Upload_max_filesize = 32M, post_max_size = 32m,post_max_size and memory_limit value at least greater than or equal to upload The setting value of the _max_filesize. After adding the maximum upload settings data in php.ini, restart the Apache database, then open phpmyadmin to upload large SQL database files and so on.

MYSQL Import data size limit settings

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.