Procedure documentationUninstalling the Software Using SDBUNINST Locate this document in the navigation structure

 

You use the SDBUNINST uninstallation program to uninstall some or all of the software components, taking into account the dependencies between them.

The SDBUNINST program can be used to uninstall the database software on UNIX, Linux, and Microsoft Windows. It is contained in the database software of all versions ≥ 7.3.00.33.

You can uninstall database software of versions ≥ 7.2 using SDBUNINST.

Overview of the Options for the SDBUNINST program

Note Note

To uninstall the software after an interrupted installation, you must restart your computer first. Only then the system will be able to access the uninstallation program.

If you are working on the Linux operating system and have used the Red Hat Package Manager (rpm package) to install the database software on your computer, you must use this program to uninstall the software.

End of the note.

Prerequisites

  • You have administrator rights for your computer.

  • There are one or more versions of the database software installed on your computer. At least one of them is ≥ 7.3.00.33, and therefore contains the SDBUNINST program.

Procedure

  1. On UNIX or Linux: Open a root shell and log on as root.

    On Microsoft Windows: Open a command prompt and log on as a member of the Administrators group.

  2. Log on to the Database Manager CLI in session mode as a DBM operator and connect to the database assigned to the installation directory in which you want to uninstall software:

    >dbmcli <database_name> -u <dbm_operator>,<dbm_operator_password>

  3. Stop the database:

    >db_stop

  4. Delete the database:

    >db_drop

  5. Exit Database Manager CLI:

    >exit

    Repeat steps 2 to 5 in succession for each database assigned to the installation directory in which you want to uninstall software.

  6. Execute the uninstallation program with the required option:

    >sdbuninst <option>

    If you want to uninstall all software components of all SAP MaxDB versions on your computer, specify the –all option; otherwise, specify your chosen component with the –package option.

    If a particular package is installed in several versions, a list of the versioned packages with their IDs is displayed by the system. Specify a package ID and confirm.

Result

The specified database software was uninstalled.