I put DB2 on the computer and built a library ASF later because some operations DB2 can not use, I can only uninstall after reinstalling DB2, after the installation to rebuild the library ASF, but the error, prompted my database and exist, but I do not see in the console. I think I uninstall did not unload clean, I do not know how to do now, please master certain help. Thank you:)
-----------------------------------------------
1, enter the Db2cmd, enter the command DB2 list DB directory to see if there is a database ASF
2, if there is, in the control center use, in the "Database" right click, select "Add", the ASF database added
3, in the Db2cmd Input command drop database ASF completely delete ASF
4, create a new database ASF
-----------------------------------------------
DB2 databases and DB2 files are separate, which means that either deleting an instance or uninstalling the DB2 does not affect the database, you want to delete the database, and you use drop databases.
So your question is simple, perform DB2 list DB directory on the console DBPath
DB2 Catalog Database dbname on DBPath
DB2 DROP Database DBName
----------------------------------------------
First restore the original database, then drop
Because you didn't drop it before, you disconnected it.