ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
I installed MySQL on my local server today and when I went to access it via mysql_secure_installation
to set my root password etc., I ran into the following curious error:ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)