If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > Cant quite COnnect

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-22-11, 15:03
Gideon22 Gideon22 is offline
Registered User
 
Join Date: Jun 2011
Posts: 39
Cant quite COnnect

From my DB2 Client I can catalog a DB, but cant quite connect:

Code:
db2 => catalog tcpip node db2node remote 10.14.50.12 server 50000
DB20000I  The CATALOG TCPIP NODE command completed successfully.
DB21056W  Directory changes may not be effective until the directory cache is
refreshed.

db2 => catalog database IPC as IPC at node db2node
DB20000I  The CATALOG DATABASE command completed successfully.
DB21056W  Directory changes may not be effective until the directory cache is
refreshed.

db2 => connect to IPC
SQL30082N  Security processing failed with reason "3" ("PASSWORD MISSING").
SQLSTATE=08001
I looked up the catalog and connect statements, but I do not see anywhere where I can set a PW.

How can I tell the client what PW to use when I connect to the DB ?

Thanks
Reply With Quote
  #2 (permalink)  
Old 07-22-11, 15:26
n_i n_i is offline
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
Quote:
Originally Posted by Gideon22 View Post

I looked up the catalog and connect statements, but I do not see anywhere where I can set a PW.
Look up the CONNECT command again.
Reply With Quote
  #3 (permalink)  
Old 07-22-11, 16:23
Gideon22 Gideon22 is offline
Registered User
 
Join Date: Jun 2011
Posts: 39
You were right, I misunderstood the command

I got it to work with the following:

Quote:
catalog tcpip node db2node remote 10.14.50.12 server 50000

catalog database IPC as IPC at node db2node

connect to IPC user db2inst1 using db2inst1
Thanks for your help
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On