Home > Database > Mysql Tutorial > SSH连接DB2的问题之一

SSH连接DB2的问题之一

WBOY
Release: 2016-06-07 15:43:56
Original
1845 people have browsed it

昨天用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]

昨天用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 ,安装后登陆解决。

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template