Uninstall MySQL 5 from Debian

I completely. completely messed up . Badly. I wiped out the data directory (/var/lib/ in ) and the went to remove
-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.

    • Wagner Pereira
    • June 11th, 2010

    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

  1. yo this is a good tip thanks

    • NIce dude…. you ROCKS on my server
    • October 25th, 2011

    Thanks…. a lot time searching the right information thanks to you my debian server works good right now…

    good!

    • King Baps
    • May 15th, 2012

    I have been looking for this solution for quite some times, problem solved…

  1. No trackbacks yet.