Jump to content

Changing max_allowed_packet on a shared server


ryuuseigun

Recommended Posts

Hi, I was wondering whether there was a way to change the max_packet_size on a shared server? I'm running Apache 1.3.31 (Unix), PHP 4.3.11 and MySQL 4.0.16, but cannot access the my.cnf file. If any more details are needed, please let me know; I'm very much a newbie with this. Any help will be much appreciated.
Link to comment
Share on other sites

I don't think so -- but in general, you shouldn't need to change this size, which is usually set rather conservatively. If this has to do with storing binary data, then there are other, more desirable workarounds. Please clarify.
Link to comment
Share on other sites

[!--quoteo(post=370300:date=May 2 2006, 02:07 AM:name=fenway)--][div class=\'quotetop\']QUOTE(fenway @ May 2 2006, 02:07 AM) [snapback]370300[/snapback][/div][div class=\'quotemain\'][!--quotec--]
I don't think so -- but in general, you shouldn't need to change this size, which is usually set rather conservatively. If this has to do with storing binary data, then there are other, more desirable workarounds. Please clarify.
[/quote]

Yes, I'm trying to store binary data in the database, namely files whose individual file sizes are greater than the max_allowed_packet. Currently, storing smaller files has been no problem at all. It seemed like there should be better ways to get around the problem, but I had no idea where to begin looking, so the tutorials/forum threads I did find were all related to increasing max_allowed_packet.
Link to comment
Share on other sites

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.