I had downloaded the generic Linux 64 bit MySQL 5.6.17 TAR archive from http://dev.mysql.com/downloads/mysql/ and installed on my 64 bit Ubuntu 14.04, following the instructions at http://dev.mysql.com/doc/refman/5.6/en/binary-installation.html.
I am having some problems with the server, so i want to uninstall and do a fresh installation. But if i try the usual apt-get remove mysql-server
(as per How do I uninstall Mysql?), i get :
Package 'mysql-server' is not installed, so not removed
I am guessing this is because i did not use apt-get to install in the first place. I had used scripts/mysql_install_db
as per the instructions.
So is there some other way to uninstall MySQL server or is it ok to just delete the installation folder?
Edit
$ dpkg --get-selections | grep -v deinstall | grep "mysql"
gives the below result :
libdbd-mysql-perl install
libmysqlclient18:amd64 install
mysql-client install
mysql-client-5.5 install
mysql-client-core-5.5 install
mysql-common install
mysql-workbench-community install
dpkg --get-selections | grep -v deinstall | grep "mysql"
and post the output if you see any packages or matches. This command will output packages relating to the word mysql while printing all the installed packages. :)sudo apt-get remove mysql*