Archive for November, 2008

MySQL Error #2002 with PHPMyAdmin on Mac OS X 10.5 Leopard

Attempting to login to my local installation of PHPMyAdmin on Mac OS X Leopard for the first time, I received this message:

#2002 - The server is not responding (or the local MySQL server's socket is not correctly configured)

Assuming the server is installed and running, these problems are almost always caused by incorrect path issues. A Google search brought up this solution.

Solution:

  1. Open the terminal
  2. sudo mkdir /var/mysql
  3. sudo ln -s /tmp/mysql.sock /var/mysql/mysql.sock
  4. Reload the login page and login

Solution found on Friends of Ed forum.