I am trying to connect to the mysql in MAMP using navicat.

I read that in advance settings i need to set path of mysql.sock. But i couldn't locate this file in Application/MAMP/tmp/mysql.

Questions :

Do i have to set this path ?

Any reason why this is not located in this folder ?

If i try to connect without setting this path it gives me error "Can't connect to the mysql server on '127.0.0.1' ". What could be the reason behind this?

Any help would be appreciated.

有帮助吗?

解决方案 2

I solved this problem by reinstalling MAMP Pro.

其他提示

Use this path:

/Applications/MAMP/tmp/mysql/mysql.sock

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top