Re: Cannot Upload .sql into phpMyAdmin
Posted: Fri Sep 25, 2015 7:57 am
What error?protocore wrote:Still got a problem, I've changed the php.ini but error still comes up
anyway of expanding the upload limit in sql
Community Forum
https://forum.vestacp.com/
What error?protocore wrote:Still got a problem, I've changed the php.ini but error still comes up
anyway of expanding the upload limit in sql
How can I do this on my mac? Should I open the terminal? connect to my root@ip and what commands should I type?skid wrote:Most probably dump size exceed default php limits. Try to increase post_max_size and upload_max_filesize values. I guess 64M should be enough.
Open /etc/php5/apache2/php.ini and setThen restart the apache.Code: Select all
post_max_size = 64M upload_max_filesize = 64M
If you are using CentOS or RHEL, then the php.in location is /etc/php.iniCode: Select all
apachectl restart
ssh root@iptamez11 wrote: How can I do this on my mac? Should I open the terminal? connect to my root@ip and what commands should I type?
Code: Select all
nano /etc/php.ini
Use console for import: https://stackoverflow.com/a/17666279cyclone200 wrote: ↑Mon Dec 03, 2018 1:49 pmHi,
I have this problem and I've done everything mentioned above...
Could you please help me?
Thank you but this is not a solution...grayfolk wrote: ↑Mon Dec 03, 2018 4:08 pmUse console for import: https://stackoverflow.com/a/17666279cyclone200 wrote: ↑Mon Dec 03, 2018 1:49 pmHi,
I have this problem and I've done everything mentioned above...
Could you please help me?
Fenkins wrote: ↑Mon Dec 16, 2013 2:49 pmI got the same situation explained in starting post, but changes in php.ini wont give me any positive result, except my phpMyAdmin panel now tells me that I got 64mb file upload limit.
I also tried to set the tmp folder manually and set permissions to 777 ( I am running ubuntu 12.04.03 if that matters) and still no luck.
Any comments?
As a temporary solution I used import from terminal:
From the mysql console:
But phpMyAdmin still aint work for import... Dont feel good about it.Code: Select all
mysql> use DATABASE_NAME; mysql> source path/to/file.sql;