Im running Apache and PHP in OS X environment.
I have installed using a "double click" installer as my unix is not quite up to me compiling!
I get errors when i try to connect to mysql "could not connect through socket"
I have check using phpinfo() and apache is using the socket /var/mysql/mysql.sock
Following install the mysql.sock was put in /tmp/mysql.sock
i moved the socket file to var/mysql and this worked but only until reboot!
I have tried to create an alias to point to var/mysql but this has not worked.
I figured i needed to change where apache was looking for sql socket and had a search through httpd.conf but could not find any reference to mysql.
I googled for this problem and found some suggestions on mysql site to modify /etc/my.cnf file. I do not seen to have this file!!!
Can any body suggest what i can do now?
Advance thanks