My problem started off with me not being able to log in as root any more on my mysql install. I was attempting to run mysql without passwords turned on... but whenever I
Changing the host to 127.0.0.1 worked for me.
host
127.0.0.1
Edit the file in /etc/mysql/my.cnf and add the below mentioned line to the section: client
/etc/mysql/my.cnf
client
[client] port = 3306 host = 127.0.0.1 socket = /var/lib/mysql/mysql.sock
After you are done with it. Execute the following command.
sudo service mysql start