Jump to content






Wampserver - "No data was received to import .. exceeded the maximum size permitted by your PHP configuration" error

Posted by Nathan House, 22 December 2011 · 7,306 views

When I tried to import my localhost MySQL database sql file into phpMyAdmin today I was greeted with the following 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.


The solution was pretty simple, and I'll post it in case anyone else has trouble with Wampserver's default sql file size limit.

Just open the two php.ini files located in the following directories:
  • C:\wamp\bin\php\php5.3.8
  • C:\wamp\bin\apache\Apache2.2.21\bin
And change

upload_max_filesize = 2M

To some higher number, such as

upload_max_filesize = 20M

Save the files, then click on the Wampserver icon in the system tray and select "Restart All Services."

Now a larger sql file can be imported into phpMyAdmin!

  • 0



This is very useful for me Thanks for your info.
    • 0
  • Report