mysql 报错:Row size too large. The maximum row size for the used table type, not counting BLOBs, is 65
2016-12-13 15:18
1031 查看
之前遇到这样一个问题在mysql插入一个新的字段的时候报错:Row size too large. The maximum row size for the used table type, not counting BLOBs, is 65535.。。。
经过查资料得出原因:就是非大字段类型的字段的bytes总和(即定义的字段的length的总合)大于64K了 (自己相加的话可能感觉没大于65535,但是
经过查资料得出原因:就是非大字段类型的字段的bytes总和(即定义的字段的length的总合)大于64K了 (自己相加的话可能感觉没大于65535,但是
字符类型若为gbk,每个字符最多占2个字,字符类型若为utf8,每个字符最多占3个字节)
解决:1.按照报错的提示将字段类型改为text 或 blobs(测试成功)
2.改变表的类型 将类型innoDB改为MyISAM (INNODB是表类型,支持事务,myisam也是表类型,不过不支持事务)(未测试)
相关文章推荐
- Mysql [Err] 1118 - Row size too large. The maximum row size for the used table type, not counting BLOBs, is 65535.
- Row size too large. The maximum row size for the used table type, not counting BLOBs, is 65535. You
- MySQL出现The maximum row size for the used table type, not counting BLOBs, is 8126.错误
- ERROR 1118 (42000): Row size too large. The maximum row size for the used table type, not counting B
- [MySQL 错误]ERROR 1118 (42000): Row size too large. The maximum row size for the used table type, not
- [MySQL 错误]ERROR 1118 (42000): Row size too large. The maximum row size for the used table type, not
- ERROR 1118 (42000): Row size too large. The maximum row size for the used table type, not counting B
- Mysql_大字段问题Row size too large.....not counting BLOBs, is 8126.
- ERROR 1118 : Row size too large. The maximum row size for the used table type
- Row size too large. The maximum row size for the used table type 解决
- SoapUI启动报错:The JVM could not be started. The maximum heap size (-Xmx) might be too large
- SoapUI启动报错:The JVM could not be started. The maximum heap size (-Xmx) might be too large
- What Is The Maximum Tablespace Size And Database Limit For An Oracle Database ? (文档 ID 1372905.1)
- Linux服务器上日志报com.mysql.jdbc.PacketTooBigException: Packet for query is too large (1783 > 1024). You can change this value on the server by setting the max_allowed_packet' variable.
- SoapUI启动报错:The JVM could not be started. The maximum heap size (-Xmx) might be too large
- Index column size too large. The maximum column size is 767 bytes
- mysql Packet for query is too large (5058927 > 4194304). You can change this value on the server by
- MySQL报错 Mysql Row Size too large (>8126) 和 Unknow Table Engine InnoDB 解决方案
- mysql5中大数据错误:Packet for query is too large (***>***). You can change this value on the ser
- SoapUI启动报错:The JVM could not be started. The maximum heap size (-Xmx) might be too large