I have had a cakephp app running fine on my local machine (mac osx) for a while and then suddently I realise that I can\'t connect to mysql.sock.
I\'m getting this
If you are having problem with CakePHP 2.0, try this:
sudo mkdir /var/mysql sudo ln -s /Applications/MAMP/tmp/mysql/mysql.sock /var/mysql/mysql.sock