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:
- Open the terminal
sudo mkdir /var/mysqlsudo ln -s /tmp/mysql.sock /var/mysql/mysql.sock- Reload the login page and login
Solution found on Friends of Ed forum.
Thank you, Thank you, Thank you, Thank you, Thank you, Thank you, Thank you, Thank you!!!!!!
thanks!!
yeah, you are hero!!!!! thanks alot :)
Finally a solution that actually works!!!! *hail*
PHPMyAdmin 3.1.1 error Cannot modify header information – headers already sent by (output started at /Library/WebServer/Documents/phpMyAdmin/libraries/Error.class.php:357) in /Library/WebServer/Documents/phpMyAdmin/libraries/header_http.inc.php on line 22 HELP!!!
Try searching Google for “PHPMyAdmin Cannot modify header information”. There are quite a few results.
[...] And if you find any trouble logging in to phpMyAdmin interface, here is another lines of codes for Terminal at http://harrylove.org/2008/11/03/mysql-error-2002-with-phpmyadmin-on-mac-os-x-105-leopard [...]
thankyou thankyou thankyou thankyou thankyou thankyou thankyou…
though at the moment I have PhpMyAdmin 2.something installed, has anyone figured out how to make the newest version work yet?
:D