背景
qa需要db2的demo,运维给安装完db2,启动报错
com.ibm.db2.jcc.am.io: [jcc][t4][2013][11249][4.7.112] Connection authorization failure occurred. Reason: User ID or Password invalid. ERRORCODE=-4214, SQLSTATE=28000
解决
用户名或者密码错误
通过:
https://blog.csdn.net/yan19880901/article/details/8841571?utm_source=blogxgwz6知道了修改密码的方式
通过:
https://blog.csdn.net/zwhfyy/article/details/28890079知道了原来db2新建了用户,需要切换到其他的用户中
//切换到root用户
[root@AK db2inst1]# passwd db2inst1
Changing password for user db2inst1.
New password:
BAD PASSWORD: it is too simplistic/systematic
BAD PASSWORD: is too simple
Retype new password:
passwd: all authentication tokens updated successfully.
[root@AK db2inst1]#
上面的提示的意思是密码过于简单,不用理会
之后启动还是报错了
Origination unknown: [10228][11541][4.16.53] Security exceptions occurred while loading driver. ERRORCODE=4223, SQLSTATE=null
将jdk修改为1.8好了




所有评论(0)