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
In phpcake 2.0 use 'unix_socket' instead of port
'Database/Mysql', 'persistent' => false, 'host' => 'localhost', 'login' => 'dbUser', 'password' => 'dbPassword', 'database' => 'dbName', 'prefix' => '', 'unix_socket' => '/Applications/XAMPP/xamppfiles/var/mysql/mysql.sock', //Path for mac XAMPP ); }