MySQL导入数据库1118错误解决方案[ERR] 1118 - Row size too large (> 8126). Changing some columns to TEXT or BLOB

首页 / MySql / 正文

MySQL导入数据库1118错误解决方案[ERR] 1118 - Row size too large (> 8126). Changing some columns to TEXT or BLOB

编辑sql文件,在开头设置一下innodb_strict_mode为0

SET innodb_strict_mode = 0;

或者找到mysql配置文件mysql.ini

innodb_strict_mode=0
// 可通过show variables like '%innodb_strict_mode%';命令查看
打赏
评论区
头像