I just tried installing this hack and got an error message:
ERROR 2002: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (111)
Digging through FAQ files, I found the following fix:
On a UNIX system without sockets support you must always specify the hostname explicitly when connecting to the server. Try using this command to check the connection to the server:
shell> mysqladmin -h `hostname` version
If it works, then add "-h `hostname`" to the mysql command line.
It worked for me.
FC