Jump to content

mysql blob limited to 64k?


michaellunsford

Recommended Posts

trying to insert images into a blob in mysql, but they are apparently being limited to 64k by something. mysql reports that max_allowed_packet is 16777216 -- so I have no idea what the problem could be.

Probably going to rewrite this to work with the regular file system, but it would be nice to know why this isn't working.
Link to comment
Share on other sites

[!--quoteo(post=353689:date=Mar 10 2006, 01:40 PM:name=wickning1)--][div class=\'quotetop\']QUOTE(wickning1 @ Mar 10 2006, 01:40 PM) [snapback]353689[/snapback][/div][div class=\'quotemain\'][!--quotec--]
The BLOB type is limited to 65000 characters (about 64kB). Use MEDIUMBLOB for up to 16MB or LONGBLOB for up to 2GB.
[/quote]

Thanks! You da man. Sorry so long on the reply -- didn't get email notification. Odd.
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.