Jump to content

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.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.