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;