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 > Database connection

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-13-03, 12:13
cesar cesar is offline
Registered User
 
Join Date: Feb 2003
Posts: 13
Database connection

Hello,

I'm connected to both a local and a remote DB2 databases in Windows platform. The connection to the local one is as simple as typing
CONNECT TO MyLocalDB
but for the remote one, I always have to provide my user name and password
CONNECT TO MyRemoteDB USER me USING password

I heard that it is possible to avoid typing all the time the user name and password, as for the local databases (setting them as user preferences or letting Windows use its login information to connect the database). Is it possible? How can I do it?

Thanks, Cesar
Reply With Quote
  #2 (permalink)  
Old 10-14-03, 02:28
nitingm nitingm is offline
Registered User
 
Join Date: Jul 2003
Location: Austin, TX, USA
Posts: 278
Change Authentication Type

hi

please change your authentication value for the db2 server from Server to Client, this would ensure that the authentication takes place at the client and not at the server which is default.

Cheers

Nitin.
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