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