double check with the host that the MySQL server will allow connections from an outside computer.
If the MySQL Server will allow the connection, then you should be able to set ti to act as both remote and testing server.
I find that using the remote server as a testing server can be problematic in Dreamweaver, though.
Even though it can be done, it's not a recommended development set up.
it is a better idea to have a local testing server for development then publish to the remote server.