帝国cms增加字段提示Row size too large的解决方法教程_帝国cms教程-大众资源网

帝国CMS增加字段提示以下信息

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类型

发表评论