使用get db cfg命令时出错 [英] ERROR when using get db cfg command
问题描述
我正在运行DB2 UDB v 7.2 FP 9.
我已连接到我的数据库( testdb)成功地作为用户db2admin。
然后我尝试运行以下命令:
得到db cfg for testdb
我收到以下错误:
SQL1403N提供的用户名和/或密码不正确。
SQLSTATE = 08004
我不明白为什么我已经收到这个错误了
连接?
任何帮助将不胜感激!
谢谢!
Hi,
I''m running DB2 UDB v 7.2 FP 9.
I''m connected to my database (testdb) successfully as user db2admin.
then i tried to run the following command:
get db cfg for testdb
and i get the following error:
SQL1403N The username and/or password supplied is incorrect.
SQLSTATE=08004
I don''t understand why I''m getting this error when I''m already
connected??
Any help would be appreciated!
Thanks!
推荐答案
" Andy S." ; <一个****** @ hotmail.com>在消息中写道
news:11 ********************** @ g14g2000cwa.googlegr oups.com ...
"Andy S." <an******@hotmail.com> wrote in message
news:11**********************@g14g2000cwa.googlegr oups.com...
我正在运行DB2 UDB v 7.2 FP 9.
我以用户db2admin成功连接到我的数据库(testdb)。
然后我尝试运行以下命令:
获取dbdb for testdb
我收到以下错误:
SQL1403N提供的用户名和/或密码不正确。
SQLSTATE = 08004
我不明白为什么当我已经<连接??
任何帮助将不胜感激!
谢谢!
Hi,
I''m running DB2 UDB v 7.2 FP 9.
I''m connected to my database (testdb) successfully as user db2admin.
then i tried to run the following command:
get db cfg for testdb
and i get the following error:
SQL1403N The username and/or password supplied is incorrect.
SQLSTATE=08004
I don''t understand why I''m getting this error when I''m already
connected??
Any help would be appreciated!
Thanks!
db2admin是否具有sysadm权限?
尝试使用get db cfg连接后
Does db2admin have sysadm authority?
Try just using "get db cfg" after you have connected
SYSADM_GROUP的值是多少?确保db2admin是
这个组的一部分。
或者您正在尝试获取远程数据库的DB CFG。
干杯,
" Andy S." <一个****** @ hotmail.com>在消息中写道
news:11 ********************** @ g14g2000cwa.googlegr oups.com ...
What is the value for SYSADM_GROUP?? Make sure that db2admin is part of
this group.
Or you are trying to get the DB CFG for a remote database.
Cheers,
"Andy S." <an******@hotmail.com> wrote in message
news:11**********************@g14g2000cwa.googlegr oups.com...
我正在运行DB2 UDB v 7.2 FP 9.
我以用户db2admin成功连接到我的数据库(testdb)。
然后我尝试运行以下命令:
获取dbdb for testdb
我收到以下错误:
SQL1403N提供的用户名和/或密码不正确。
SQLSTATE = 08004
我不明白为什么当我已经<连接??
任何帮助将不胜感激!
谢谢!
Hi,
I''m running DB2 UDB v 7.2 FP 9.
I''m connected to my database (testdb) successfully as user db2admin.
then i tried to run the following command:
get db cfg for testdb
and i get the following error:
SQL1403N The username and/or password supplied is incorrect.
SQLSTATE=08004
I don''t understand why I''m getting this error when I''m already
connected??
Any help would be appreciated!
Thanks!
在文章< 11 ***********************@g14g2000cwa.googlegroups .com> ;,
Andy S.(一个****** @ hotmail.com)说...
In article <11**********************@g14g2000cwa.googlegroups .com>,
Andy S. (an******@hotmail.com) says...
我正在运行DB2 UDB v 7.2 FP 9.
我是用户db2admin成功连接到我的数据库(testdb) br />
然后我尝试运行以下命令:
获取dbdb for testdb
我得到以下错误:
SQL1403N提供的用户名和/或密码不正确。
SQLSTATE = 08004
我不知道为什么我已经
连接??
任何帮助将不胜感激!
谢谢!
Hi,
I''m running DB2 UDB v 7.2 FP 9.
I''m connected to my database (testdb) successfully as user db2admin.
then i tried to run the following command:
get db cfg for testdb
and i get the following error:
SQL1403N The username and/or password supplied is incorrect.
SQLSTATE=08004
I don''t understand why I''m getting this error when I''m already
connected??
Any help would be appreciated!
Thanks!
您需要附加到运行命令之前的实例。
You need to attach to the instance before running the command.
这篇关于使用get db cfg命令时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!