Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

No data was received to import

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

like image 479
bhavesh Avatar asked Oct 07 '13 08:10

bhavesh


2 Answers

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.

like image 122
Khadka Pushpendra Avatar answered Nov 05 '22 11:11

Khadka Pushpendra


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.

like image 22
masteryoda Avatar answered Nov 05 '22 12:11

masteryoda