It looks like your testing server URL is set wrong in your dreamweaver site definition. You have it set to http://localhost, but it doesn't look like you are trying to connect to your localhost for testing.
If you want to send me your US phone number or Skype contact information I can try to help you get this set. The issue is in your Site Definition in Dreamweaver. Not your database connection.