SQLDBX Remote Link DB2 database

Source: Internet
Author: User
Tags db2 db2 connect db2 connect to

1. Download IBM Data Server Client First, Baidu Cloud Link: Http://pan.baidu.com/s/1kVBVjan Password: 2GTZ

2. After installing the client, open cmd and run db2cmd. Then perform the following steps in Db2cmd.

The first step is to create the node

Syntax: DB2 catalog TCPIP nodes < node names > remotes < remote database address > server < port number >

Example: DB2 catalog TCPIP node Mynode remote 192.168.1.90 server 50000

Step two, create the remote DB instance

Syntax: DB2 catalog DB < remote database name > as < local alias > at node < created node name >

Example: DB2 catalog db Remotedbname as mydbname at node Mynode

Step three, connect the database

Syntax: DB2 CONNECT to < contact name > user < username > Using < password >

Example: DB2 CONNECT to Mydbname user username using Pssword (user name and password are the user name and password for remote server)


Reference Links: http://www.xuebuyuan.com/450788.html

SQLDBX Remote Link DB2 database

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.