文章詳情頁
解決db2 codepage導(dǎo)致連接不上數(shù)據(jù)庫問題
瀏覽:78日期:2023-11-09 16:27:32
在客戶端機(jī)器裝上db2客戶端,配置好鏈接遠(yuǎn)程數(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
查相關(guān)資料,原來源代碼頁與目標(biāo)代碼頁不兼容,用命令:
db2set db2codepage=1386 -I db2inst
db2 terminate重新連接,一切正常!
標(biāo)簽:
DB2
數(shù)據(jù)庫
排行榜
