Page 1 of 1

File is too large for uploading via phpmyadmin

Posted: Sat Aug 20, 2016 6:26 am
by shahidirfan
When I try to upload my SQL file via PHPMyAdmin. It gives this error "File is too large for uploading via PHPMyAdmin". I have made changing in my php.ini and increase upload size and execution etc. In spite of it give this error. I am using Ubuntu 14.04.5 LTS x86 for vesta cp.

Re: File is too large for uploading via phpmyadmin

Posted: Sat Aug 20, 2016 7:47 pm
by dpeca
upload SQL file via FTP, then go to SSH and run:
mysql name-of-your-db < /path/to/your/file.sql

Re: File is too large for uploading via phpmyadmin

Posted: Mon Aug 22, 2016 9:09 pm
by mehargags
shahidirfan wrote:When I try to upload my SQL file via PHPMyAdmin. It gives this error "File is too large for uploading via PHPMyAdmin". I have made changing in my php.ini and increase upload size and execution etc. In spite of it give this error. I am using Ubuntu 14.04.5 LTS x86 for vesta cp.
1 - what is the Size of the file you are uploading ?
2 - What limit did you set in PHP.ini ?
-2a - Did you restart apache after setting limit in PHP.ini ?

Please learn to post right amount of information if you seek help. Always post your operating system, VestaCP Version and your server specs. It helps us alot to give you correct information.