Last modified: 2010-05-15 15:54:46 UTC
This might account for intermittent installation problems on OS X, where the socket for the default mySQL installation is not in the expected place.
For MySQL, 'localhost' is indeed correct for communication using the socket files.