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

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

来源:帝国CMS模板网 作者:帝国CMS教程 时间:2010-11-21
浏览:7.1千+ 收藏 点赞(0)
简介: 增加字段提示以下信息,如何解决?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 T

增加字段提示以下信息,如何解决?

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类型, 添加字段的时候,采集项去掉.

帝国CMS模板网 帝国CMS模板网(www.daixiao360.cn)长期承接帝国CMS模板定制,帝国CMS仿站,帝国CMS采集规则,帝国CMS插件,帝国CMS二次开发。