转载自stackoverflow,hjpotter92的回答。原文链接
(1118, 'Row size too large (> 8126)
修改mysql的my.cnf
sudo vi /etc/mysql/my.cnf
在[mysqld] 选项中添加
innodb_file_per_table=1
innodb_file_format = Barracuda
重启mysql之后,修改或者重新创建表
转载自stackoverflow,hjpotter92的回答。原文链接
(1118, 'Row size too large (> 8126)
修改mysql的my.cnf
sudo vi /etc/mysql/my.cnf
在[mysqld] 选项中添加
innodb_file_per_table=1
innodb_file_format = Barracuda
重启mysql之后,修改或者重新创建表