首页 > 数据库技术 > 详细

mysql 错误代码:1118解决方法

时间:2016-07-21 21:29:58      阅读:347      评论:0      收藏:0      [点我收藏+]

错误描述:

错误代码: 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 ‘券号‘;

mysql 错误代码:1118解决方法

原文:http://www.cnblogs.com/simpledev/p/5693098.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!