Uninstall MySQL 5 from Debian
I completely. completely messed up MySQL. Badly. I wiped out the data directory (/var/lib/mysql in Debian) and the went to remove mysql …
apt-get remove --purge mysql-server
That only deleted something like 86K. dissapointing. It looks like “mysql-server” is a shortcut pointing to the latest version of the software. The real software is foundĀ under the name “mysql-server-50″. So what made it happen was:
apt-get remove --purge mysql-server*
That’ll wipe out whatever mysql install is in place.
Related posts:

Hi.
You gave me the answer which I was desperate looking for!
Now I am able to test Cacti in a virtual machine lab from ZERO.
My best wishes.
Wagner Pereira
wpereiratecno @ twitter