[Err] 1118 - Row size too large (> 8126). Changing some columns to TEXT or BLOB or using ROW_FORMAT=

[Err] 1118 - Row size too large (> 8126). Changing some columns to TEXT or BLOB or using ROW_FORMAT=DYNAMIC or ROW_FORMAT=COMPRESSED may help. In current row format, BLOB prefix of 768 bytes is stored inline.

错误原因:sql中某字段内容非常大
将字段类型设为TEXT 或 BLOB 或 mediumtext
将row_format 设置为 dynamic(备注:查询资料别人都说设置为compressed,我设置保存后老是compact,所以就查资料说设置成dynamic 也可以)
设置方法:选中表名-右键-设计表
[Err] 1118 - Row size too large (> 8126). Changing some columns to TEXT or BLOB or using ROW_FORMAT=_第1张图片点击选择: 选项-行格式
[Err] 1118 - Row size too large (> 8126). Changing some columns to TEXT or BLOB or using ROW_FORMAT=_第2张图片将row_format 设置为 dynamic
[Err] 1118 - Row size too large (> 8126). Changing some columns to TEXT or BLOB or using ROW_FORMAT=_第3张图片问题解决。

你可能感兴趣的:(sql)