Archive for January, 2006

OS X 10.4.4 update breaks phpMyAdmin

Saturday, January 14th, 2006

If you are running MySQL and phpMyAdmin on Mac OS X, and you just upgraded to OS X 10.4.4, you may have seen this error message when trying to access your MySQL server using phpMyAdmin: “The server is not responding (or the local MySQL server’s socket is not correctly configured)”. If this has happened to you, here is the fix:

1. load /private/etc/php.ini into your favorite editor. You may have to become root and change permissions on the file in order to edit it.

2. find the line that says ‘mysql.default_socket = ‘.

3. change that line to say ‘mysql.default_socket = “/tmp/mysql.sock”‘, and save php.ini.

4. as root, on the command line in a terminal window, restart the Apache webserver by typing ‘apachectl graceful’.

That should do it.