Quote:
Originally Posted by db2girl
You have instance db2inst2 as per db2ilist output. But then you're logged in as db2inst1 and there is one database under db2inst1's home dir (is this on the
same server??)
Login as db2inst1 and execute "db2 list db directory". You can also try viewing local db directory file using "strings /home/db2inst1/db2inst1/NODE0000/sqldbdir/sqldbdir"
|
Thanks bella and Marcus for the replys, I really Appreciate your help.
Yup it has been quite confusing to me ...especially when i try to figure some many diff situations ..... I Apologize If my Questions are really stupid ..it is just that i'm not able to figure these thing myself.
Ya i have both the instance on the same server, db2inst1 has database created under in it while there is nothing in db2inst2
now If i create a database under the db2inst2 by using create db command then the owner of this database will be db2isnt2 right ??? but then can i give another user which is on the box Grant the Admin priv to create a Schema in this database ???
Can this be done by adding the other user to the db2grp which gets created which db2inst is created ???
db2inst2 will be like the super user for any database that are been created under it right ???
The thing is need to create a DB and assign a user for it which can create schema , tables, views, triggers in that DB
Lastly if the db2 client has a instance db2inst1 and while the DB in on db2inst2 will that still work as long as we catalog or both need to same ??
Thanks guys ...I really Appreciate all your time and help !
It is a life Saver
Thanks in Advance !!!!!