mysql 5.7导入较大文件报错

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.


导入sql文件出现上述错误信息,之前网上翻了几个帖子,基本都是一样但始终不见有效果,后来看了一下是版本的原因。

解决方案:

在mysql的my.ini配置文件中添加

            innodb_strict_mode = 0 

重启mysql服务即可。

猜你喜欢

转载自blog.csdn.net/weixin_40902527/article/details/79821023