Error #2002 with MySqlAdmin on mac os x 10.5

Problem:

I installed xamp for mac os x 10.5. With xamp control panel i started apache and mysql. When i navigate to the browser to open phpmyadmin i encountered the following error.

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

Solution:

1. Open the terminal from Applications->Utilities 2. Enter following commands - sudo mkdir/var/mysql - sudo ln -s /tmp/mysql.sock /var/mysql/mysql.sock 3. Now refresh the phpmyadmin on the browser.

blog comments powered by Disqus