sqlalchemy.exc.InternalError: (pymysql.err.InternalError) (1118, u'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

BEGIN:

话不多说,解决方法如下:

在MySQL的配置文件中的[mysqld]下修改添加语句

[mysqld]

innodb_log_file_size = 512M

innodb_strict_mode = 0

 

END.

posted @ 2020-09-09 11:32  Gangpei  阅读(444)  评论(0编辑  收藏  举报