Posted under » MySQL » Mac on 8 May 2011
Problem could be your php.ini for your Mac is not configured properly. change this line:
mysql.default_socket = /var/mysql/mysql.sockTo:
mysql.default_socket = /tmp/mysql.sock
btw... in my mac, the location of my php.ini is at /private/etc/php.ini
If all fails, try clear your browser cache and cookies and try again.