How to uninstall a DB2 database on AIX

Source: Internet
Author: User
Tags db2 installation

Have you had any trouble uninstalling the DB2 database on AIX? If you are in trouble, read this article. This article describes how to uninstall and reinstall the DB2 database on AIX. It provides a correct solution and is helpful to you.

AIX, database, uninstall

1. Find db2_deinstall on the DB2 CD.

2. Use smit.

Delete db2 in/var and delete/usr/opt/db2_xx_xx. It is best to delete db2 * And das * In/tmp.

And then reinstall it.

You can view the DB2 Quick Ning inning of the corresponding DB2 version to learn how to uninstall it.

You can use the DB2 installation CD to uninstall the db2_deinstall function.

You can delete it manually. The procedure is as follows:

1. Back up the database and delete the DB2 database

2. db2admin stop Management Service

3. Stop instance with db2stop

4./usr /... /Instance/dasidrop das_name Delete Management Service

5./usr /... /Instance/db2idrop instance_name Delete instanec

6. smitty remove Delete the DB2 package

7. Delete the corresponding users and groups, and delete the rows with the db2 words in the/etc/services file.

Related Article

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.