In the Dreamweaver Site Definitions, How have you configured the testing server?
When testing a database connection, Dreamweaver uses the Sites testing server settings to connect to your testing server.The Unidentified error suggests that the testing Server settings are not correct.
See the "Defining a Dynamic Site in Dreamweaver" tutorial on the learning resources page:
resources.php