I am unable to login to MySQL using the script below when in terminal. The following error message displays:
-sh-4.2$ mysql
ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var/lib/mysql
/mysql.sock’ (2)
1 post - 1 participant