Today I’m packing for a flight and, during the trip, I was planning to start playing on the port of atalayasec.org to Joomla!. So I grabbed the latest package (1.5.2) and went off installing it on my laptop.
My macbook is running the vanilla apache2 installation that Apple provides, and shipping with php 4.4.8. Apart from this I had already installed MySQL 5.0.27.
Running the installer has given me a bit of an headache though, as I was constantly getting an “Unable to connecto to database” error. Googling a bit had reminded me of all those problems people are having with the new authentication introduced since MySQL 4.1 (remember the OLD_PASSWORD thing?).
Nevertheless my problem was another: it happens that the default PHP module looks for the mysql socket in the wrong path. Setting
mysql.default_socket = /tmp/mysql.sock
in the php.ini solved it (note that the socket location may vary, check your MySQL installation).
Maybe this helps someone.
thanks so much, this definitely helped me!