DB2 SQL1205N

mac2022-06-30  60

在做数据库迁移的时候遭遇SQL1205N: >db2 restore db sundb from . to /db2sys replace existing redirect without rolling forward SQL1205N The code page "1386" and/or territory code "1" that been specified is not valid. >db2set DB2COMM=tcpip DB2CODEPAGE=1386 解决方法: 先新建一个同名数据库实例,在还原替换掉新建的db2实例: >db2 create database sundb using codeset GBK territory CN 接着重新执行最上面的恢复语句开始恢复数据库即可。

转载于:https://www.cnblogs.com/seven-dba/p/4354879.html

最新回复(0)