I have a 2 Mac OSX clients running apache & mysql. One is a new installation, one I've been using as a local machine to test web apps for the last 6 months. I haven't made any differences to the functional one, and it started giving me an error message "#2002 Can not log into the MySql Server" when attempting to log in via phpmyadmin .....
The 2nd Mac has newer versions of apache/php/mysql - just finished installing it. Same error. Works perfect if I want to only control mysql from terminal .... Where am I going wrong??
Here is the exact error msg I get if I attempt to run a web app that I've been using at work since Feb
"Warning: mysql_connect() [function.mysql-connect]:  No such file or directory (trying to connect via unix:///var/mysql/mysql.sock) in /mfcs_liheap_V3.01/includes/connection.php on line 4"