文章詳情頁
解決db2 codepage導致連接不上數(shù)據(jù)庫問題
瀏覽:57日期:2023-11-09 16:27:32
在客戶端機器裝上db2客戶端,配置好鏈接遠程數(shù)據(jù)庫別名后,連接報錯:
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
數(shù)據(jù)庫
排行榜
