ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)

事情发生在我刚安装好了linux的mysql机器上,当我登录mysq时.出现如图情况.

一脸懵逼中....

经过一番google...

只需要做一个软连接到/tmp/mysql.sock上就好了....于是...

告辞....

原文地址:https://www.cnblogs.com/puppey/p/9713689.html