这是我正在运行的命令列表......这将解释我的问题......
$ su user
Password:
[user@localhost]$ db2 list database directory
System Database Directory
Number of entries in the directory = 1
Database 1 entry:
Database alias = MYDB
Database name = MYDB
Local database directory = /scratch/db2inst2
Database release level = f.00
Comment =
Directory entry type = Indirect
Catalog database partition number = 0
Alternate server hostname =
Alternate server port number =
[user@localhost]$ db2 connect to MYDB
SQL30082N Security processing failed with reason "24" ("USERNAME AND/OR PASSWORD INVALID"). SQLSTATE=08001
我不确定为什么会这样。有人可以帮忙吗?
答案 0 :(得分:0)
您尝试连接数据库的用户出现问题。
例如
db2 connect to MYDB user user using mypasswd
有关错误的详细信息,请参阅有关SQL30082的信息中心
db2 ? sql30082
原因24