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

前端 未结 6 1272
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:06

    I know this is late, but if ever someone is searching this (as I was tonight, but I found the solution), here's what worked for me:

    I opened MAMP and had to click "USE default Apache and MySQL ports". (80 and 3306 instead of 8888 and 8889). That seemed to fix the issue.

提交回复
热议问题