昨天用ssh连接数据库突然报错如下(db2客户端连接正常):
[db2inst1@CONT root]$ db2 connect to test
SQL0332N Character conversion from the source code page "1386" to the target
code page "819" is not supported. SQLSTATE=57017
[db2inst1@CONT root]$ db2set DB2CODEPAGE=1386
DB2SET processing complete, rc = 4, SQLCODE = 4
最后发现是ssh字符集的问题。
下载一个Xshell4 + Xftp4 ,安装后登陆解决。
本文介绍了一个通过SSH连接数据库时遇到的字符集转换问题,并提供了使用Xshell4+Xftp4软件解决该问题的方法。
8013

被折叠的 条评论
为什么被折叠?



