Let’s feed Google.
Setting up MySQL + phpMyAdmin + a CMS on Mac OS X 10.4.4 and up? #2002 error? Ah…
“Re: #2002 – The server is not responding
Posted by: Geoff Ellis (IP Logged)
Date: March 08, 2006 05:27AM
To the people on Mac OS X 10.4.4 and up
During the 10.4.4 OS update, Apple have changed where PHP looks for the MySQL socket file.
You can correct this by:
$ sudo mkdir /var/mysql
$ sudo ln -s /tmp/mysql.sock /var/mysql/mysql.sock