Error 2002 (HY000) – Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2)
Recently, out of the blue, I started receiving the following error message and mysql would not start properly: I searched for solutions and resorted to reinstalling mysql, which worked for me. If you have similar problems, then try the following. First, backup your databases: Then remove mysql-server. Reinstall mysql-server. Normally … read more