سؤال

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