ERROR 1118 (42000) at line 25: 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 inline.

 

vi /etc/my.cnf.d/server.cnf

innodb_strict_mode = OFF

 

or 

 

> SET GLOBAL innodb_default_row_format='dynamic';

> SET SESSION innodb_strict_mode=OFF;

> ALTER TABLE `tablename` ENGINE=InnoDB ROW_FORMAT=DYNAMIC;