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 s
Copy the data from the file, put it into the sql tab of phpmyadmin, and press the "Go" button.
Open php.ini
file
(Open xampp-control-panel. In front of Apache, there is a config button. Click on that and php.ini
will be opened).
In php.ini there is upload_max_filesize=2M
update it to upload_max_filesize=10M (you can update it as per your requirement)
After this, you have to restart apache
in xampp-control-panel
Increase the upload file size limit in the server. If you don't have access to it try breaking the file into parts, for different tables. Or you may use MySQL Dumper.
Follow theses steps
Go to the PHP folder -> search for php.ini
Seach for the below line and change it according to your need.
; Maximum allowed size for uploaded files.
upload_max_filesize = 2M
Restart the server to confirm changes.
In Ubuntu 18.04 apache2
does change the upload size on the below php.ini
file :
root@xxxxxxxxxx:/etc/php/7.2/apache2# pwd
/etc/php/7.2/apache2
root@xxxxxx:/etc/php/7.2/apache2# vi php.ini