Toad For DB2的配置


1 File>new connection

2 login选项卡中选择"Client Configuration Wizard"图标(酷似电视机那个)

3 点击"Add Catalog Entry",弹出Add a host对话框。

4 选择操作系统Opeartion System(windows)

TCP/IP设置:主机名称Host name:172.16.17.7(安装DB2的服务器IP)

端口号Port Number:50000

5 下一步"next"到Specify an Instanse.

6 设置DB2实力信息:

节点名称Node name:NODE1 (和db2数据库链接的实例名称,随便命名)

实例名称:db1;

备注comment:



阶段说明:此时我们已经在Toad上建立了和db2的链接节点NODE1,NODE1可以配置很多个db2数据库链接db1,db2,db3...



7 下一步next到Add a Database

8 设置数据库信息:

db2数据库名称Database name:YFGL(已经在db2上建立的数据的名称)

Database alias:YFGL(填写数据库名称的时候系统会自动补充,不用更改)

Authentication:server(默认,不用更改)

9 一直到finish。

如果看到下边则配置成功了:
DB20000I The CATALOG DATABASE command completed successfully.
DB21056W Directory changes may not be effective until the directory cache is
refreshed.

转载自http://angrybird.iteye.com/blog/1564419

猜你喜欢

转载自l540151663.iteye.com/blog/1714347
db2