帝国增加字段提示Row size too large,怎么解决

时间:2019-02-14 23:14作者:网友投稿

增加字段提示以下信息,如何解决?
Row size too large. The maximum row size for the used table type, not counting BLOBs, is 65535. You have to change some columns to TEXT or BLOBs
alter table ***_ecms_infoclass_info add zz_jdtype text not null,add z_jdtype varchar(255) not null,add qz_jdtype varchar(255) not null,add save_jdtype varchar(10) not null;

超过mysql允许的最大单表长度,解决办法是:减少字段,或字段少用text类型


免责声明:本站所有文章和图片均来自用户分享和网络收集,文章和图片版权归原作者及原出处所有,仅供学习与参考,请勿用于商业用途,如果损害了您的权利,请联系网站客服处理。