美文网首页
24 关于Mysql [ERR] 1118 - Row size

24 关于Mysql [ERR] 1118 - Row size

作者: 滔滔逐浪 | 来源:发表于2023-11-07 10:26 被阅读0次

Mysql 版本: 8.0

系统:win10

错误描述:[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.

解决方法:

在C:\ProgramData\MySQL\MySQL Server 8.0下找到my.ini文件,增加如下配置项:

[mysqld]

innodb_log_file_size = 512M

innodb_strict_mode = 0


然后重启mysql即可。

注意:my.ini 文件需保存为ANSI编码,否则mysql无法启动!

相关文章

网友评论

      本文标题:24 关于Mysql [ERR] 1118 - Row size

      本文链接:https://www.haomeiwen.com/subject/bcffwdtx.html