in reply to MySQL, BLOB, weirdness...

Please post a bit of code, it looks like a quoting problem, do you use placeholders in the insert statement? another possible issue could be the value of "max_allowed_packet" in mysqld try to put
[mysqld] set-variable = max_allowed_packet=1M
in /etc/my.cnf