DB2的一些问题

当出现有如下以下异常:

SQLException exception

If the SQLException exception includes the text UserID or password is invalid , then the user ID or password specified for the outbound connection are not correct.

For example:
javax.resource.ResourceException: [ibm][db2][jcc][t4][2013][11249] Connection 
authorization failure occurred.  Reason: User ID or Password invalid.
 
解决办法是:
                    su - db2user
                    db2 connect to dbname
                    db2 connect reset

你可能感兴趣的:(db2,IBM)