Ahmediqbal.com

My Personal Weblog

Mostly PHPMyADMIn import ‘2MB‘ mysql backup file. when you are try to import large file.

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.

So how to import file???

Simply Edit Your ‘php.ini

Here is a reasonable setup:

memory_limit = 32M
post_max_size = 8M
upload_max_filesize = 7M

Don’t forget to restart apache when you’re done :D

No Comments :(