You may be uploading a large file, please refer to the documentation for a workaround

Source: Internet
Author: User

"Issue background": Local to our version of XXX 2.0 re-build environment, this is for a customer to develop new features and rebuild the local environment.

When importing, using phpMyAdmin to import more than 11 m of MySQL database file error:

"Resolution Process"

1. It is clear that the file is too large to import. That is, the upload file size is limited. So we're going to lift this limit.

2. In fact, this is very simple as long as the changes in the php.ini three configuration can be. (See the Bold section below to change to your own needs)

; Maximum allowed size for uploaded files.
; Http://php.net/upload-max-filesize
; upload_max_filesize = 2M
Upload_max_filesize = 300M

; Maximum amount of memory a script may consume (128MB)
; Http://php.net/memory-limit
; memory_limit = 128M
Memory_limit = 300M

; Maximum size of POST data that PHP would accept.
; Http://php.net/post-max-size
;p ost_max_size = 8M
Post_max_size = 300M


Many friends are certainly also very puzzled, here remind you, after the change, be sure to remember to restart the service. Refresh phpMyAdmin, re-import try, the result is still not.

Also, must be 3 have to modify the corresponding, otherwise unsuccessful.

You may be uploading a large file, please refer to the documentation for a workaround

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.