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 > user in control center

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-31-10, 14:09
MarkhamDBA MarkhamDBA is offline
Registered User
 
Join Date: Dec 2008
Location: Toronto, Canada
Posts: 381
user in control center

did not use Control Center before. trying to use CC to connect to a database on a server(db2 v9.5 on AIX 6.1). i can see the database and tables (and other objects) in it but when I try to create a new table or drop a table it says i am connected with my userid (e.g. johnsmith). I want to connect as a user DBA. And for some reason i can not change it (right click on database

Is there a way to set it so when I am using Control Center I am always logged on as DBA?
__________________
DB2 v9.5 ESE on AIX v6.1/ v9./10 on z/OS
Reply With Quote
  #2 (permalink)  
Old 03-31-10, 16:23
ARWinner ARWinner is offline
Registered User
 
Join Date: Jan 2003
Posts: 3,575
Are you connecting locally on the server? If so, login in with the appropriate user before loading the CC. An alternative is to use CC from remote.

Andy
Reply With Quote
  #3 (permalink)  
Old 03-31-10, 16:51
ARWinner ARWinner is offline
Registered User
 
Join Date: Jan 2003
Posts: 3,575
I had another thought. I do not know AIX, but you might be able to do "su -c=db2cc <dbauserID>"

Andy
Reply With Quote
  #4 (permalink)  
Old 04-01-10, 09:42
MarkhamDBA MarkhamDBA is offline
Registered User
 
Join Date: Dec 2008
Location: Toronto, Canada
Posts: 381
I have db2 express-C installed on my laptop under my userid (johnsmith) so I start it from my pc's desktop. I don't start it using db2cc command on my AIX session. db2cc command on AIX does not work.
__________________
DB2 v9.5 ESE on AIX v6.1/ v9./10 on z/OS
Reply With Quote
  #5 (permalink)  
Old 04-01-10, 12:37
ARWinner ARWinner is offline
Registered User
 
Join Date: Jan 2003
Posts: 3,575
If you are connecting from your laptop to the AIX server, then when you try to access anything in the database, it should ask for a login. Here you should use the DBA user.

Andy
Reply With Quote
  #6 (permalink)  
Old 04-01-10, 14:29
MarkhamDBA MarkhamDBA is offline
Registered User
 
Join Date: Dec 2008
Location: Toronto, Canada
Posts: 381
Quote:
Originally Posted by ARWinner View Post
If you are connecting from your laptop to the AIX server, then when you try to access anything in the database, it should ask for a login. Here you should use the DBA user.

Andy
so I did enter DBA (tried 'dba' userid as well) and the error is 'Wrong UserID/Password entered!' Though I use the same userid and pw as when I log on AIX.
are there any DAS settings which might affect this?
Do I need to explicitely create an instance, catalog a node and database so I could connect to the database on db server (same way I connect from appl. server on AIX to db server on AIX)?
__________________
DB2 v9.5 ESE on AIX v6.1/ v9./10 on z/OS
Reply With Quote
  #7 (permalink)  
Old 04-01-10, 14:55
ARWinner ARWinner is offline
Registered User
 
Join Date: Jan 2003
Posts: 3,575
All you have to do on your laptop is to catalog the Node of the AIX server and then catalog the database there.

Andy
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