linux DB2 远程连接
首先切换到db2inst1用户 su - db2inst1
1. 配置service
root下执行 vi /etc/services,添加对外服务,格式为:服务名 端口/连接方式
DB2_db2inst1 50000/tcp
2. 更新db2配置,以db2管理员身份执行
db2set DB2COMM=tcpip
db2 update database manager configuration using svcename DB2_db2inst1 (步骤1中配置的services name)
db2 get dbm cfg
grep db2c_db2inst1 /etc/services
https://blog.csdn.net/Tang_hu/article/details/8513791
https://www.cnblogs.com/happysong/articles/15450666.html

头文件配置
 
                    
                     
                    
                 
                    
                
 
                
            
         
         浙公网安备 33010602011771号
浙公网安备 33010602011771号