What is the maximum length of data I can put in a BLOB column in MySQL?
Best Answer
A BLOB
can be 65535 bytes (64 KB) maximum.
If you need more consider using:
a
MEDIUMBLOB
for 16777215 bytes (16 MB)a
LONGBLOB
for 4294967295 bytes (4 GB).
See Storage Requirements for String Types for more info.
May or may not be accurate, but according to this site: http://www.htmlite.com/mysql003.php.
BLOB A string with a maximum length of 65535 characters.
The MySQL manual says:
The maximum size of a BLOB or TEXTobject is determined by its type, butthe largest value you actually cantransmit between the client and serveris determined by the amount ofavailable memory and the size of thecommunications buffers
I think the first site gets their answers from interpreting the MySQL manual, per http://dev.mysql.com/doc/refman/5.0/en/storage-requirements.html