I'm having the same problem: i use the DH Web Panel -> Toolbox -> MySQL Databases to make a new database. i can see several entries in the Hostname list. When I go to connect to the new DB, i get :
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
This happens no matter which hostname I use. Btw, this is the error i get when trying to connect using "mysql mysql.mydomain.com" in an SSH session with my DH account.
Anyone find a solution to this?