Can't connect to mySQL to /var/lib/mySQL/mySQL.sock
I am using Centos 5.3 and I had the same problem, I solved this way...
using phpmyadmin removed all ispconfig or mydns DBs and users
this steps should work on any linux distro.
hope this help