mysql text 最大长度 报错 Row size too large. The maximum row size for the used table type
数据类型长度如下
TINYTEXT | 256 bytes | |
TEXT | 65,535 bytes | ~64kb |
MEDIUMTEXT | 16,777,215 bytes | ~16MB |
LONGTEXT | 4,294,967,295 bytes | ~4GB |
报错 Row size too large. The maximum row size for the used table type, not counting BLOBs, is 8126. You have to change some columns to TEXT or BLOBs
如果增大 text类型 字段的内容,就会报上面的错误。Row size too large。表示行的内容太多了,
可以修改类型为 MEDIUMTEXT 或 LONGTEXT
还没有评论,来说两句吧...