catalog database <dbname> on /home/db2inst1
drop database <dbname>
This will help you to elegantly drop the databases ..
If you want to delete the files manually,
delete the directory structure under /home/db2inst1/db2inst1
But, remember you still will have stuff hanging around various places (for eg. /var/db2 ) ... Hence the best approach is to go the db2 way to get rid of the databases and instances
Sathyaram
Quote:
Originally posted by deastley
yup done all that.
Now I'm left with the database listed in:
db2 list db directory on /home/db2inst1
and not in
db2 list db directory
any ideas how to get rid of it from the local database directory?
|