Bug #34782 CONCAT() fails when longblobs length's are bigger than max_allowed_packet
Submitted: 24 Feb 2008 9:46 Modified: 27 Feb 2008 17:20
Reporter: Hans Kejser Hansen Email Updates:
Status: Not a Bug Impact on me:
None 
Category:MySQL Server: DML Severity:S2 (Serious)
Version:5.0.32-Debian_7etch1-log OS:Linux (Debian)
Assigned to: CPU Architecture:Any
Tags: concat max_allowed_packet

File: Maximum allowed size is 50MB.
Description:
Privacy:

If the data you need to attach is more than 50MB, you should create a compressed archive of the data, split it to 50MB chunks, and upload each of them as a separate attachment.

To split a large file: