blob类型最大可存储64k的图象,超过时可用longblob类型要注意在你的 my.cnf/my.ini 中要加入下面的设置项[mysqld]
set-variable = max_allowed_packet = 25M