sync && echo 3 | sudo tee /proc/sys/vm/drop_caches
RESET QUERY CACHE;
FLUSH QUERY CACHE;
sudo apt-get update
sudo apt-get remove --purge mysql\*
sudo apt-get install mysql-server mysql-client
// stop service and kill any ghost processes
/etc/init.d/mysql stop
ps -Af | grep mysql
kill [the id]
// now start again
/etc/init.d/mysql restart
mysql_install_db
/usr/bin/mysql_secure_installation