Problem:
 Can't connect to local MySQL server through socket
 '/tmp/mysql.sock' (146)
Solution: http://publib.boulder.ibm.com/httpserv/ihsdiag/sidderror.html says:
Solaris 10 has an apparent problem, seen both on SPARC and x64 platforms, which results in the ECONNREFUSED failure even under relatively light loads. This issue is tracked by Sun under bug id 6460268. Customers encountering the "Connection refused: SSL0600S" message on Solaris 10 should check with Sun on the availability of a fix for this problem.

March 14, 2007 status: Sun reported that fixes for this bug are now in the development build of Solaris. The fixes have not yet been backported to Solaris 10.

June 1, 2007 status: Sun reported that a test/temporary patch is currently available for Solaris 10; it will be integrated in the next update of Solaris 10, which will probably release in July.

This bug is fixed in 126308-01
126308-01/README.126308-01:BugId's fixed with this patch: 6460268
126308-01/README.126308-01:6460268 connection refused on local unix socket when many connect/close requests occur simultaneously
This patch can be found on sww in /usr/sww/patch