have you Deleted the Dreamweaver Cache file from the users configuration folder:
common_installation_issues.php
the error looks to be related to the hostname setting in the database connection file.
double check the database connection file and make sure the hostname is properly entered.
what are you doing in dreamweaver when this error occurs?