Error #2002 Can't connect to local MySQL server through socket '/Applications/MAMP/tmp/mysql/mysql.sock' (2)

前端 未结 6 1273
Happy的楠姐
Happy的楠姐 2020-12-01 16:48

I\'m running MAMP.
It has been working fine up until yesterday. I haven\'t been able to find anything that helps so far. But here is my problem:

As the title

6条回答
  •  执念已碎
    2020-12-01 17:03

    I faced the same problem. When i start MAMP separately, then the problem gone. And issuing following command worked fine.

    mysql -u root -p
    

提交回复
热议问题