mysql创建表时,提示[Err] 1118 - Row size too large
来源:互联网 发布:在线试衣软件 编辑:程序博客网 时间:2024/05/29 05:10
今天创建mysql表时,遇到了[Err] 1118 - Row size too large的问题,sql如下:
去网络上查找问题,找到原因:
drop table if exists Orders;create table Orders( orderNo varchar(50) not null comment '订单号', invoice varchar(21845) comment 'JSON 发票信息', primary key (orderNo));
提示的错误为:
[Err] 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
去网络上查找问题,找到原因:
一个varchar/char占3个字节 每行数据不能超过65535个字节 所以每行的varchar/char不能超过21845
0 0
- mysql创建表时,提示[Err] 1118 - Row size too large
- mysql 1118 Row size too large 错误
- Mysql 导入psc 文件时,数据列过多,提示Row size too large(>8126)
- MySql “Row size too large (> 8126)”
- Mysql MySQLSyntaxErrorException Row size too large
- Mysql Row size too large (> 8126)
- [MySQL]Row size too large错误
- Row size too large
- Mysql 出现Error 1118 Row size too large. The maximum row size is 65535 的解决办法
- Row size too large (> 8126)
- MySql 5.6异常处理: Row size too large (> 8126)
- MySql “Row size too large (> 8126)” 亲测解决
- [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 : Row size too large. The maximum row size for the used table type
- MySQL报错 Mysql Row Size too large (>8126) 和 Unknow Table Engine InnoDB 解决方案
- MySQL Row size too large (> 8126) 以及ROW_FORMAT=COMPRESSED requires innodb_file_format > Antel 的解决办法
- ERROR 1118 (42000): Row size too large. The maximum row size for the used table type, not counting B
- s2sh整合jbpm
- Linux shell 常见命令 (一)
- Android Studio 设置之自动生成类注释(增加函数注释模板)
- 【bzoj 4451】[Cerc2015]Frightful Formula - 递推
- pymongo连接mongodb的replset
- mysql创建表时,提示[Err] 1118 - Row size too large
- UIButton和UILabel的常见设置方法
- 数据库范式
- poj1515 Street Directions
- 【Scala】使用Option、Some、None,避免使用null
- ElasticSearch安装部署,基本配置(Ubuntu14.04)
- ubuntu中遇到在执行可执行文件时报错不存在该文件或目录(No such file)
- 隧道协议
- js获取url传递参数,js获取url?号后面的参数window.location