MariaDB 10.4.12 Stable Row size too large (> 8126). Changing some columns to TEXT or BLOB may help. 亲测有效

MariaDB 10.4.12 Stable

Row size too large (> 8126). Changing some columns to TEXT or BLOB may help.

以下两步解决问题

1. 修改my.ini文件在[mysqld]下面加入下面三行

innodb_file_per_table
innodb_file_format = Barracuda
innodb_strict_mode = 0

2. 新建一个查询进行如下操作将nombre_tabla改成你的表名

ALTER TABLE nombre_tabla
    ENGINE=InnoDB
    ROW_FORMAT=COMPRESSED;
posted @ 2020-03-06 10:19  fanlinglong  阅读(1798)  评论(0编辑  收藏  举报