当前位置:论坛首页 > Linux面板 > 求助

安装论坛,出现这个,要怎么解决??高手来

发表在 Linux面板2023-4-24 14:39 [复制链接] 2 1150

为了能快速了解并处理您的问题,请提供以下基础信息:
面板、插件版本:免费版 [url=]7.9.9[/url]

系统版本:CentOS 7.6.1810 x86_64(Py3.7.9)

问题描述:MySQL服务器错误(MySQL Server Error):Specified key was too long; max key length is 1000 bytes ( 1071 ) 查看错误相关信息
安装论坛最后出现这个,高手来帮忙一下

  相关截图(日志、错误):

使用道具 举报 只看该作者 回复
发表于 2023-4-24 14:40:15 | 显示全部楼层
错误信息:
Query Error: create table pw_acloud_apis ( id int(10) unsigned not null AUTO_INCREMENT, name varchar(255) not null default '', template text, argument varchar(255) not null default '', argument_type varchar(255) not null default '', fields varchar(255) not null default '', status tinyint(3) not null default '0', category tinyint(3) not null default '0', created_time int(10) not null default '0', modified_time int(10) unsigned not null default '0', primary key (id), unique key idx_name (name) )ENGINE=MyISAM
使用道具 举报 回复 支持 反对
发表于 2023-4-24 17:32:39 | 显示全部楼层
MySQL默认字符串存储最大为1000,utf8mb4情况下,你这 varchar(255) 超了,要不你设置为text,要不修改为250以下的数值
使用道具 举报 回复 支持 反对
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

企业版年付运维跟进群

普通问题处理

论坛响应时间:72小时

问题处理方式:排队(仅解答)

工作时间:白班:9:00 - 18:00

紧急问题处理

论坛响应时间:10分钟

问题处理方式:1对1处理(优先)

工作时间:白班:9:00 - 18:00

工作时间:晚班:18:00 - 24:00

立即付费处理
快速回复 返回顶部 返回列表