I asked this at superuser but I'm having no joy there. I was really hoping someone could help because I'm stumped.
I use a MacBook Pro running Mac OS X 10.6.4
For a few years I have used MAMP to test websites locally but suddenly and for no apparent reason when I start the MAMP servers the mysql light stays red.
I'm not very clued up on how to actually run a server which is the main reason I use MAMP. I also have Sequel Pro installed for administering my databases. When I try to connect to mysql in Sequel Pro through a socket connection it says
The socket file could not be found in any common location. Please supply the correct socket location.
and then
MySQL said: Can't connect to local MySQL server through socket 'tmp/mysql.sock' (2)
I can connect and access all my databases if I connect with host 127.0.0.1 but I used to just connect through the socket and all was fine. Also all my testing sites which I hosted locally are no longer being processed by PHP.
I have no idea why this suddenly stopped working and any light someone could shine on the matter would be very much appreciated. A solution even more so.
Thanks.
