your mysql.sock file isn't found.
You can restart the MySQL server and see, whether this fixes it or you add/edit this line to your php.ini:
pdo_mysql.default_socket="/var/lib/mysql/mysql.sock"
Just check the path to the mysql.sock and adjust it accordingly - and you have to restart Apache after making changes to php.ini
or do the following:
sudo mkdir /var/mysql
cd /var/mysql
sudo ln -s /var/mysql/mysql.sock
i'm not really familiar with MACs so there might be little changes necessary to this