That seems odd that DW is not allowing you to connect to the db. As another test you can try creating a new site and define it the same as your other site but with different locations for the files. In this new site create a new page and save it then attempt to create a connection to the db.
This test should let you know if the issue is one with the site you are working in or a larger issue with Dreamweaver.