Row size too large. The maximum row size for the used table type, not counting BLOBs, is 6553
mysql 建表 Row size too large. The maximum row size for the used table type, not counting BLOBs, is 65535. This includes storage overhead, check the manual. You have to change some columns to TEXT or BL
·
mysql 建表 Row size too large. The maximum row size for the used table type, not counting BLOBs, is 65535. This includes storage overhead, check the manual. You have to change some columns to TEXT or BLOBs;
Row size too large. The maximum row size for the used table type, not counting BLOBs, is 65535. This includes storage overhead, check the manual. You have to change some columns to TEXT or BLOBs
查找原因
数据库编码为utf8mb4, varchar长度:(2000+10000+2000+3100+300)*4>65535了
如果数据库编码为utf8,类型长度乘以3
解决方案
将比较长的字段类型设置成 blob 或者 text
更多推荐
已为社区贡献1条内容
所有评论(0)