微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

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

 

 

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。

相关推荐