Originally Posted by Jrdgames
ok command executed the directory is gone now what should i do? do i continue uninstalling mysql now?
The directories must be removed after you uninstalled mysql, not before:
You could uninstall MySQL and then delete the directory /var/lib/mysql and then reinstall MySQL. But I don't know if it works...
But ok, lets try to remove it anyway
Execute the command:
apt-get remove mysql-server
Please copy the list of packages that where uninstalled and post it here.
Then install it again with:
apt-get install mysql-server