DB2 not configure for TCP/P communication解决方案

在/etc/services中加入

db2c_db2inst1 50000/tcp

之后

su db2inst1

db2set DB2COMM=tcpip

db2 update dbm cfg using SVCENAME db2c_db2inst1

你可能感兴趣的:(c,db2)