mysql 报错1118 - Row size too large (> 8126). Changing some columns to TEXT or BLOB may help. In current row format, BLOB prefix of 0 bytesis stored inline.

问题如下:

行大小太大(>8126)。将某些列更改为TEXT或BLOB可能会有所帮助。在当前行格式中,0字节的BLOB前缀内联存储。

解决:

找到my.ini 文件,添加下面命令,保存一定要是ANSI 格式

innodb_log_file_size = 512M
innodb_strict_mode = 0

 

 打开重启mysql 服务就可以了

 

posted on 2022-09-02 17:37  obge  阅读(5039)  评论(0编辑  收藏  举报