If you try importing a mysql database backup file greater than 2 MB then you may receive an error – “No data was received to import. Either no file name was submitted, or the file size exceeded the maximum size permitted by your PHP configuration. See FAQ 1.16.”. No Worries! you just need to make few changes to your php.ini file.
; Its value may be 0 to disable the limit. It is ignored ifPOST data reading
3
; is disabled through enable_post_data_reading.
4
; http://php.net/post-max-size
5
post_max_size = 8M
By default its set to “8M”. If you set “upload_max_filesize” > 8MB, say 10 MB but do not change the default “post_max_size” then phpMyAdmin will not allow upload a file greater than 8MB.
3. Search for “memory_limit” and set it to a value greater “upload_max_filesize” and “post_max_size”
Leave a Comment