300字范文,内容丰富有趣,生活中的好帮手!
300字范文 > mysql 1118错误_mysql 错误代码:1118解决方法

mysql 1118错误_mysql 错误代码:1118解决方法

时间:2023-10-16 17:15:10

相关推荐

mysql 1118错误_mysql 错误代码:1118解决方法

错误描述:

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

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。