I had mysql server running. I stopped it, and removed it (apt-get remove mysql-server mysql-client)
I then manually removed the directories:
I rebooted. But when I type mysql, I get the following message:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
I get the same error message when I type service mysql stop
This means mysql server is still running. How do I get rid of it completely and stop the process.