(1)错误类型:
ERROR 1118 (42000): Row size too large. The maximum row size for the used table type
(2)原因:
Every table (regardless of storage engine) has a maximum row size of 65,535 bytes. Storage engines may place additional constraints on this limit, reducing the effective maximum row size。
65,535指的是整个表的非大字段类型的字段的bytes总合。
官网解释:Row Size Limits
(3)解决方案:把以前乱设的字段大小改小一点
本文介绍了MySQL中遇到ERROR1118(42000)错误的原因及解决办法。此错误通常由表行尺寸超过65,535字节限制导致,通过调整字段大小可以有效解决。
1228

被折叠的 条评论
为什么被折叠?



