Restore MySQL config file
I have installed mysql-server on my laptop running Debian back in awhile. For that reason, I forgot the root password. Just recently, I need to use MySQL server for one of my assignments. So, I was playing around in /etc/mysql/ directory hoping that I could get rid of the server and then reinstall it. The commands apt-get remove <strong>mysql-server</strong> didn’t seem to remove files/directories related to MySQL. Then, I decided to delete the /etc/mysql/ manually. ...