mysql 错误代码:1118解决方法
2020-01-15 11:18
2221 查看
错误描述:
错误代码: 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
trans表 memo varchar(1000) 原来的字段类型。
1.ALTER TABLE trans MODIFY COLUMN memo TEXT DEFAULT NULL COMMENT '交易备注';
2.DEFAULT CHARSET=utf8mb4 -->utf8
这样就可以再建立其他的varchar字段了。
ALTER TABLE trans ADD COLUMN cpic_coupon_number varchar(20) DEFAULT NULL COMMENT '券号';
转载于:https://www.cnblogs.com/simpledev/p/5693098.html
- 点赞
- 收藏
- 分享
- 文章举报
相关文章推荐
- mysql 错误代码:1118解决方法
- Windows下MySql错误代码1045的解决方法
- mysql 读取描述文件失败 错误代码:2 解决方法
- mysql 读取描述文件失败 错误代码:2 解决方法
- 解决远程连接mysql错误1130代码的方法
- MySQL错误代码1045的解决方法
- 解决远程连接mysql错误1130代码的方法
- 解决远程连接mysql错误1130代码的方法
- 解决远程连接mysql错误1130代码的方法
- Navicat for MySQL连接MYSQL出错,错误代码1045的解决方法
- 解决远程连接mysql错误1130代码的方法
- mysql错误代码与解决方法
- mysql提示错误代码1045什么问题原因怎么办?解决方法
- mysql 使用GTID主从复制后出现错误代码1785解决方法
- 远程连接mysql错误代码1130的解决方法
- Mysql创建表或外键约束时出现1005错误代码的解决方法
- mysql错误代码与解决方法
- 一天安装一个mysql,不是吓唬你,哈哈,mysql问题解决方法1067 can not connect to localhost (带MySql常用错误代码表)
- 解决远程连接mysql错误1130代码的方法