Many hosts prevent a connection to the MySQL server from an outside computer, you should check the documentation for your host to determine if connecting to the MySQL Server from Dreamweaver is possible.
I recommend installing a local testing server for development rather trying to connect to the remote database.
the learning resources page has details for configuring a local testing server:
resources.php?utm_campaign=Forum_header&utm_medium=Forums&utm_source=WebAssistForums