PDOException when running Mautic commandos on MAMP

I installed the newest version of Mautic (1.3) and to my surprise I couldn’t run any commando’s to update my lead lists, campaigns whatsoever.

Instead I got this error:

[PDOException]
SQLSTATE[HY000] [2002] No such file or directory

In my case this anwser on StackEchange did the trick: http://drupal.stackexchange.com/a/99461

I had to symlink my MAMP’s MySQL to the /var/mysql folder.