在命令行中输入:
    ->db2 catalog tcpip node xxx remote serverName server 50000 
    ->db2 catalog db databaseName at node xxx 
    ->db2 connect to databaseName user Uid using Pwd 
    例:
    ->db2 catalog tcpip node xxx remote wjs server 50000 
    ->db2 catalog db huaxing at node xxx 
    ->db2 connect to huaxing user song using 3568974

        ===>catalog tcpip node xxx 中的xxx是任意起的一个结点名 
        ===>catalog db huaxing at node xxx 中的xxx指的是你在前面起的那个结点名
        ===>serverName 服务器名称
        ===>databaseName 数据库名称
        ===>Uid 用户名
        ===>Pwd 密码

相关文章:

  • 2022-12-23
  • 2021-11-22
  • 2021-12-06
  • 2021-08-15
  • 2022-12-23
  • 2021-05-02
猜你喜欢
  • 2021-11-03
  • 2021-11-13
  • 2021-11-03
  • 2021-11-03
  • 2021-11-23
  • 2021-11-16
相关资源
相似解决方案