设为首页 加入收藏

TOP

How to create local database alias and instance alias of Romote DB2 Database
2014-11-23 21:36:30 来源: 作者: 【 】 浏览:8
Tags:How create local database alias and instance Romote DB2 Database

To connect IBM DB2, you will need to set up DB2 Runtime Client, here are the steps


1. Download and install IBM DB2 Runtime Client lite.
2. In DB2 CLP, Run “catalog tcpip node #NODE_NAME# remote #HOST ADDRESS# #PORT NUMBER#” to create instance alias. The node name cannot be more than 8 characters.
3. In DB2 CLP, run “list node directory” to verify the instance alias is created.


4. In DB2 CLP, Run “catalog database #DATABASE NAME# as #ALIAS_NAME# at node #NODE_NAME# authentication server” to create database alias.
5. In DB2 CLP, Run “list database directory” to verify the database alias is created.


6. In DB2 CLP, Run “connect to #ALIAS_NAME# user #USER NAME# using #PASSWORD#”
7. If connection is made successfully, you will see the connection information like this:


Database Connection Information


Database server = DB2/NT 8.2.9
SQL authorization ID = #####…
Local database alias = #####


】【打印繁体】【投稿】【收藏】 【推荐】【举报】【评论】 【关闭】 【返回顶部
分享到: 
上一篇浦发银行面试笔试经历 下一篇“ No-Structure ” Interview

评论

帐  号: 密码: (新用户注册)
验 证 码:
表  情:
内  容: