标签:local 启动 can server 今天 .so host style sql
安装mysql但是从来没启动过,今天一启动就报错:
Can‘t connect to local MySQL server through socket ‘/tmp/mysql.sock‘ (2)
其实是mysql服务没起来。。。
localhost:~ miaoying$ mysql.server start
Starting MySQL
... SUCCESS!
然后再去sudo mysql就行了
Mac端解决:Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
标签:local 启动 can server 今天 .so host style sql
原文地址:https://www.cnblogs.com/miaoying/p/10352893.html