phpMyAdmin The default Import database file size is 2M, but the general Web site's database exported files will exceed this limit, to import more than 2M database files need to manually modify the php.ini configuration file! Recent projects encountered this problem, by the way to record the solution, I hope to be helpful to everyone.
In the php.ini file, modify:
upload_max_filesize 8M(that is, the maximum allowable upload file size, the default is 2M, modify the value of the size of the custom)
Also make the following changes:
post_max_size 8M (refers to the maximum value that can be received by a form post to PHP, including all values in the form, default is 8M)
PHP.ini will take upload_max_filesize and Post_max_size 2 The configured small Value entry is a valid value for the Import database file size limit, so two needs to be modified.
1) phpMyAdmin Import Database size limit modification