ERROR 1118 : Row size too large. The maximum row size for the used table type

(1)错误类型:

ERROR 1118 (42000): Row size too large. The maximum row size for the used table type

ERROR 1118 : Row size too large. The maximum row size for the used table type_第1张图片

(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)解决方案:把以前乱设的字段大小改小一点

ERROR 1118 : Row size too large. The maximum row size for the used table type_第2张图片

你可能感兴趣的:(web基础)