ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
ckc opened this issue · 1 comments
ckc commented
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
May I know if anyone experienced like this?
But good to enter this mysql db thru client app but failed the above in host CLI
michaelliao commented
Change localhost to 127.0.0.1 in application.yml if you run mysql in docker.