You must use the full connect syntax or the command center connects you to
the database as your Windows login. For example:
BAD EXAMPLE: "connect to <mydatabase>"
GOOD EXAMPLE: "connect to <mydatabase> user <mylogin> using <mypassword>"
ANOTHER GOOD EXAMPLE (that will prompt for the password): "connect to
<mydatabase> user <mylogin>"
Good luck,
Blair
-----Original Message-----
From: BBlake
[mailto:db2udbdba-ezmlmshield-x18824268.[Email address protected]
Sent: Friday, October 29, 2004 8:16 AM
To: LazyDBA Discussion
Subject: Connection errors, and request for any good DB2 books
Hi all - any help is greatly appreciated.
I have a 7.2 DB2 UDB database, where I can connect successfully using the
Command Line Processor, and I can issue queries, and everything is fine.
However, when I try to login via the Command Center, I can connect, and
that appears fine, but any query I try to issue results in this error:
"DBA2192E Database connection failed.
com.ibm.db.DataException: The connection failed. The username and/or
password supplied is incorrect. :[IBM][CLIDriver] SQL1403N The username
and/or password supplied is incorrect. SQLSTATE=08004"
Any ideas on what is causing this, and how to troubleshoot and fix?
Second, I am an Oracle DBA, trying to become familiar with the DB2 world.
Can anyone recommend any good, solid books about DB2 administration? I
have the "All-In-One DB2 administration Exam Guide" book, by Roger
Sanders, but I've got to think there are better books out there - any
suggestions??
Thanks to everyone,
Brad
---------------------------------------------------------------------
PLEASE CLICK REPLY-ALL TO SEND A REPLY TO EVERYONE
website: http://www.LazyDBA.com
To unsubscribe: http://www.lazydba.com/unsubscribe.html
"Attention: This message is intended only for the individual to whom it is
addressed and may contain information that is confidential or privileged. If
you are not the intended recipient, or the employee or person responsible for
delivering it to the intended recipient, you are hereby notified that any
dissemination, distribution, copying or use is strictly prohibited. If you
have received this communication in error, please notify the sender and
destroy or delete this communication immediately."
==============================================================================
DB2 & UDB email list listserv db2-l LazyDBA home page