On Sun, 15 Feb 2015, Anthony Kong wrote:
But I am unable to login:
mysql -u mysql -p
Enter password:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket
'/var/run/mysqld/mysqld.sock'
Seems like your mysql binary assumes the socket is in this location whereas your recipe set up my.cnf to have the socket in /run/mysql-default/mysqld.sock .
- Julian
Archive powered by MHonArc 2.6.16.