your connection is now pointing to a location that only exits on the remote server.
Dreamweaver cannot make that connection to the remote servers location, you need to have a local connection file that is configured to connect to the database on your local computer, and another copy of that connection file for the remote server.