mysql问题汇总

MYSQL Row size too large (> 8126) 的错误

  • 详情

ERROR 1118 Row size too large (> 8126). Changing some columns to TEXT or BLOB may help. In current row format, BLOB prefix of 0 bytes is stored inline.

  • 原因

字段太多,超过mysql默认配置的字段数量了,可以通过修改配置来扩大数量。

  • 解决方法

关闭InnoDB严格模式,修改配置文件 innodb_strict_mode = 0或执行命令set global innodb_strict_mode = 0;

posted @ 2022-05-23 14:42  是卡卡罗特啊  阅读(178)  评论(0编辑  收藏  举报