Rate This Document
Findability
Accuracy
Completeness
Readability

Uninstalling Percona Server

To prevent data loss, back up the database data before uninstalling the database. This section describes two methods of uninstalling the database. Select a proper method according to the Percona installation mode.

Uninstalling the Database (Against RPM Package Installation)

  1. Stop the database process.
    1
    2
    ps -ef | grep mysql
    kill -9 Process ID
    

  2. Uninstall the database RPM package.
    1
    rpm -e percona-8.0.15-6.el7.aarch64
    

Uninstalling the Database (Against Source Code Compilation)

You only need to delete the installation directory of the database, because only database files are generated during the database installation by compiling the source code.

  1. Stop the database process.
    1
    2
    ps -ef | grep mysql
    kill -9 Process ID
    

  2. Delete the database software installation directory.
    1
    rm -rf /usr/local/percona