DB2 unloading load after rebuilding the original database error

Source: Internet
Author: User
Tags db2

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.