Mysql blob Data truncation: Data too long for column

Mysql blob Data truncation: Data too long for column

Use following data types as per your need

TINYBLOB   :     maximum length of 255 bytes  

BLOB       :     maximum length of 65,535 bytes  

MEDIUMBLOB :     maximum length of 16,777,215 bytes  

LONGBLOB   :     maximum length of 4,294,967,295 bytes 

参考:

http://stackoverflow.com/questions/21522875/data-truncation-data-too-long-for-column-logo-at-row-1

猜你喜欢

转载自crabdave.iteye.com/blog/2340866