今天用Navicat导入一份SQL文件,其中一条数据插入时报错:1030 Got error 139 from storage engine!
经google发现,InnoDB的单条记录有8K的限制,而我插入的这条数据有82个字段,而且大部分字段是longblob类型,数据比较大,导致报错
解决方法:我将插入数据的那张table引擎改为MYISAM就不会报错了
官网对此也有解释:
1.divide your table into small ones. If one table contain more than 10 text colums, and the data contain is a little bit long. this error will be thrown out.
2.modify InnoDB to MyISAM.Problem description: