hi.
found this link in another topic:
http://www.railshostinginfo.com/blog/2007/03/19/wordpress-installation-error-establishing-a-database-connection/
Helped me to get to this:
Can’t connect to local MySQL server through socket ‘/tmp/mysql.sock’
(just add echo (mysql_error()); into function _construct in wp-db.php whi is located in /wp-includes/
Stuck for now…. Socket….