Originally Posted by Bubo
The other thing I wanted to ask is when I make a pigs ear of MySQL (which is happening alot lately
) is there a way that I can just un-install MySQL then re-install to try again. When I try:
apt-get remove mysql-client mysql-server libmysqlcient15-dev
the mysql folder on /etc is not repopulated and I end up with the same problems that I had before I re-installed. If I manually delete the mysql folder from /etc before I re-install the folder is not created again on re-installation. I have been having to re-install the whole server setup from scratch everytime I cock up MySQL which is getting a little tedious.
You can try
apt-get --purge remove mysql-client mysql-server libmysqlcient15-dev
This will not only remove the applications, but also their configuration files, etc.