I got the following error:
Got a packet bigger than ‘max_allowed_packet’ bytes
from a rails webapp.
I have to store really large blobs into db (around 700Mb).
How i can solve?
I known i have to change max_allowed_packet, but 700mb isn’t too much for a single packet?
There is a way to split into multiple packet to avoid memory leaks?
I don’t think problem is Rails App since error was thrown by MySQL. My suggestion solution would be to save blob data to file instead and associate with model.
https://github.com/technoweenie/attachment_fu/wiki