Jump to content

Import a 1.7MB Excel file in phpMyadmin


kamal213

Recommended Posts

Hi Guys,

 

I'm try to import a 1.7MB excel file in phpmyadmin but to no avail as it exceeds the max limit. I also have tried converting it to an CSV file but it says my field names are too long.

 

Is there a way I increase the limit size in phpmyadmin to help me or any other ideas or am I just pretty much doomed?

 

Thanks.

Link to comment
https://forums.phpfreaks.com/topic/245410-import-a-17mb-excel-file-in-phpmyadmin/
Share on other sites

ok, that error relates to 256MB of memory space, so it's likely a buffer issue.  I don't know what it would be using anything like that for a 1.7MB file insert though.

 

Check you buffer size settings in your php.ini file and see if thjere is anything in there, be carefull though, you could bugger performance if you set them to crazy sizes.

you don't change max size through phpmyadmin, it is done in your ini file, you need to change your php ini file to allow for larger imports, and you will need to change the php max memory in there too.

 

Once you save your ini file, shut down Apache and start it back up, your settings should not take affect.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.