really, Dreamweaver is temperamental on connecting to remote MySQL servers. the server could also be set in such a way as to not allow outside connections.
It makes for a far better development experience to use a local testing server for development then upload to the remote server.