Skip to content

Uninstall Percona Server for MySQL

To completely uninstall Percona Server for MySQL, remove all the installed packages and data files.

  1. Stop the Percona Server for MySQL service:

    $ sudo service mysql stop
    
  2. Remove the packages:

    $ sudo yum remove percona-server*
    
  3. Remove the data and configuration files:

    Warning

    This step removes all the packages and deletes all the data files (databases, tables, logs, etc.). Take a backup before this operation in case you need the data.

    $ rm -rf /var/lib/mysql
    $ rm -f /etc/my.cnf
    

Get expert help

If you need assistance, visit the community forum for comprehensive and free database knowledge, or contact our Percona Database Experts for professional support and services.


Last update: 2024-10-30