Uninstalling Db2 Connect (Linux and UNIX)
This task provides steps for removing a Db2® database product from your Linux® or UNIX operating system.
About this task
This task is not required to install a new version of a Db2 database product. Each version of a Db2 database product on Linux or UNIX has a different installation path and can therefore coexist on the same computer.
Note: This task applies to Db2 database products
that were installed with root user authority. A separate topic explains how to uninstall Db2 database products
that were installed as a non-root user.
Procedure
To remove your Db2 database product:
- Optional: Drop all databases. You can drop databases using the DROP DATABASE command. Database files remain intact on your file systems when you drop an instance without dropping databases first.
- Stop the Db2 Administration Server.
- Stop all Db2 instances.
- Remove the Db2 instances, or run the db2iupdt command to update the instances to another installation path.
- Remove the Db2 database products.