安装驱动后链接DB2(JDBC客户端链接)
进入:DB2CMD
执行:db2
--删除
UNCATALOG NODE BIDB;
UNCATALOG DATABASE BIDB;
--添加
CATALOG TCPIP NODE BIDBDW REMOTE 99.12.74.217 SERVER 50003 REMOTE_INSTANCE ins1 OSTYPE WIN;
CATALOG DATABASE OPRDB AS BIDB AT NODE BIDB AUTHENTICATION SERVER;
--刷新
terminate
时间: 2024-10-06 18:48:48