Installion's Lion Logo

Installion.co.uk

How To Uninstall mysql-server On Debian 8

To uninstall mysql-server just follow these instructions.

Uninstall just mysql-server

MySQL database server (metapackage depending on the latest version)Debian 8.0database5.5.55-0+deb8u1
sudo apt-get remove mysql-server

This will remove just the mysql-server package itself.

Uninstall mysql-server and its dependencies

sudo apt-get remove --auto-remove mysql-server

This will remove the mysql-server package and any other dependant packages which are no longer needed.

Purging your config/data too

If you also want to delete your local/config files for mysql-server then this will work.

 Caution! Purged config/data can not be restored by reinstalling the package.
sudo apt-get purge mysql-server

Or similarly, like this mysql-server

sudo apt-get purge --auto-remove mysql-server

Package Data

Packagemysql-server
Version5.5.55-0+deb8u1
MaintainerDebian MySQL Maintainers <pkg-mysql-maint@lists.alioth.debian.org>
Home pagehttp://dev.mysql.com/
DescriptionMySQL database server (metapackage depending on the latest version)
Distrodebian
Releasejessie
Repomain
Sectiondatabase

Dependencies