mysql触发器应用和创建表错误代码: 1118 Row size too large. 解决
2020-01-15 11:18
1581 查看
1.针对数据库查询问题的方便,可以建立重要表的log备份记录表,在主表的添加,修改,删除添加触发器,修改触发器增加触发字段的点,限制条件。
数据库log表查问题比从线上多台服务器上下载日志文件相对方便,但是两者的侧重点不同。
2.错误代码: 1118
Row size too large. The maximum row size for the used table type, not counting BLOBs, is 65535. This includes storage overhead, check the manual. You have to change some columns to TEXT or BLOBs
方法1:将创建表的脚本中的varchar(2000)等大字符的字段改成text数据类型
方法2:修改表的类型,将原来的DEFAULT CHARSET=utf8mb4 修改成utf8,解决问题。
转载于:https://www.cnblogs.com/simpledev/p/5538519.html
- 点赞
- 收藏
- 分享
- 文章举报
相关文章推荐
- mysql触发器应用和创建表错误代码: 1118 Row size too large. 解决
- mysql 1118 Row size too large 错误
- [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
- Mysql [Err] 1118 - Row size too large
- mysql 主从同步故障解决 Error 'Row size too large (> 8126).
- MySql “Row size too large (> 8126)” 亲测解决
- Mysql [Err] 1118 - Row size too large. The maximum row size for the used table type, not counting BLOBs, is 65535.
- MySQL Row size too large (> 8126) 以及ROW_FORMAT=COMPRESSED requires innodb_file_format > Antel 的解决办法
- Mysql 报Row size too large 65535 的原因及解决方法
- mysql 报错:Row size too large. The maximum row size for the used table type, not counting BLOBs, is 65
- ERROR 1118 (42000): Row size too large (> 8126).
- ERROR 1118 (42000): Row size too large. The maximum row size for the used table type, not counting B
- MySQL报错 Mysql Row Size too large (>8126) 和 Unknow Table Engine InnoDB 解决方案
- MySQL Database Error: Row size too large.
- MySQLSyntaxErrorException: Row size too large 转摘自:https://confluence.atlassian.com/display/CONFKB/MySQLSyntaxErrorException%3A+Row+size+too+large
- mysql存储大数据时,Row size too large
- Mysql_大字段问题Row size too large.....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 “Row size too large (> 8126)”