禅道使用
596618添加用户时报错已解决
添加用户时报错已解决
悬赏5积分
提问者李飞答案数1阅读数583发表时间2023-07-27 00:16:38
添加用户时报如下错误,请问怎么解决?
ERROR: SQLSTATE[22003]: Numeric value out of range: 167 Out of range value for column 'id' at row 1 <p>The sql is: INSERT INTO `zt_user` SET `type` = 'inside',`company` = '0',`dept` = '0',`account` = 'ceshi',`visions` = 'rnd',`realname` = 'ceshi',`join` = '2023-07-27',`role` = '',`email` = '',`commiter` = '',`gender` = 'm',`password` = '47b8b781e12201826cfea1039c6b8452'</p> in lib/base/dao/dao.class.php on line 1412, last called by lib/base/dao/dao.class.php on line 792 through function sqlError.
in framework/base/router.class.php on line 2797 when visiting user-create-0
parsererrorSyntaxError: Unexpected token '<', "
ERROR: SQLSTATE[22003]: Numeric value out of range: 167 Out of range value for column 'id' at row 1 <p>The sql is: INSERT INTO `zt_user` SET `type` = 'inside',`company` = '0',`dept` = '0',`account` = 'ceshi',`visions` = 'rnd',`realname` = 'ceshi',`join` = '2023-07-27',`role` = '',`email` = '',`commiter` = '',`gender` = 'm',`password` = '47b8b781e12201826cfea1039c6b8452'</p> in lib/base/dao/dao.class.php on line 1412, last called by lib/base/dao/dao.class.php on line 792 through function sqlError.
in framework/base/router.class.php on line 2797 when visiting user-create-0
parsererrorSyntaxError: Unexpected token '<', "
禅道版本:禅道开源版 18.5
安装包类型:Linux安装包
操作系统:CentOS
客户端浏览器:Chrome
答案列表
禅道-阿龙2023-07-27 15:32:56 可以检查下数据库中zt_user表id的最大值是多少,如果最大值没有满足字段类型的最大值,可以执行sql 修改自增列的取值,重新操作试试 ALTER TABLE id AUTO_INCREMENT = xxx(目前最大的id+1); 禅道-阿龙2023/07/31 |
联系我们
联系人
刘斌/高级客户经理
电话(微信)
17685869372
QQ号码
526288068
联系邮箱
liubin@chandao.com

其他相关问答
提问者: chenlihuan 于 2017-07-201720次浏览,1个答案
提问者: pipihzq 于 2019-10-281062次浏览,2个答案
提问者: xuqinqin 于 2014-04-111708次浏览,1个答案
提问者: liqing.xu 于 2020-02-261017次浏览,1个答案
提问者: dragon632 于 2011-12-134888次浏览,1个答案



精品资料包
1V1产品演示
免费试用增强功能
专属顾问答疑支持


