现在的位置: 首页 > 综合 > 正文

db2 codepage 导致连接不上数据库问题

2018年01月15日 ⁄ 综合 ⁄ 共 240字 ⁄ 字号 评论关闭

在客户端机器装上db2客户端,以及配置好链接远程数据库别名后,连接一把,

报告错误:

SQL0332N  There is no available conversion for the source code page "1386" to
the target code page "819".  Reason Code "1".  SQLSTATE=57017

查相关资料,原来源代码页与目标代码页不兼容,用命令:

db2set db2codepage=1386 -I db2inst

db2 terminate

后,重新连接,一切正常!

抱歉!评论已关闭.