5
votes

I want to import database in phpmyadmin but i got error like this... "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." my file size is 558kb, on live server

3
did you check the extension of the data to be imported?leonardeveloper

3 Answers

6
votes

If your database size is greater than 2MB then such problem will occur, goto php.ini, then find upload_max_filesize = 2M now replace 2M to upload_max_filesize = 10M now no problem unless your database size is less than 10MB. You can set value as per your requirement.

1
votes

Check file /etc/apache2/envvars for following lines:

export APACHE_RUN_USER=www-data

export APACHE_RUN_GROUP=www-data

If there is different user set than www-data it may cause problem like described.