Last Updated: February 25, 2016
·
478
· jmarizgit

Mysql 5.5 on Ubuntu 12

I face serious problems trying to install Mysql 5.5 on Ubuntu 12 today. Follow this steps if you are having the same problem.

First, upgrade the list of packages available for your system:

$ sudo apt-get update

Now let's clean the house (warning: this will delete your data, backup everything):

$ sudo apt-get remove --purge mysql-client-5.5 mysql-client-core-5.5 mysql-common mysql-server mysql-server-5.5 mysql-server-core-5.5

Finally you are set for a clean install:

$ sudo apt-get install mysql-server

Happy hacking!