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

前端 未结 8 1445
不思量自难忘°
不思量自难忘° 2021-02-13 21:16

I have problem when I try to connect to MySQL MAMP :

ERROR 2002 (HY000): Can\'t connect to local MySQL server through socket \'/Applications/MAMP/tmp/mysql/mysql         


        
8条回答
  •  -上瘾入骨i
    2021-02-13 21:43

    In some cases /Applications/MAMP/tmp/mysql/mysql.sock.lock may create the problem. remove .lock and it will work (OSX)

提交回复
热议问题