您的位置:首頁技術文章
文章詳情頁

解決db2 codepage導致連接不上數據庫問題

瀏覽:58日期:2023-11-09 16:27:32

在客戶端機器裝上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重新連接,一切正常!

標簽: DB2 數據庫
国产综合久久一区二区三区