if you set your site definition top use the remote server as the testing server, it can connect to the remote database.
if you use a local testing server, then you will have 2 databases.
for development purposes, the data in the database shouldn't matter, you shouldn't need to have the exact same data in your local database to develop your pages, but if you do, then use the remote server as both the remote and testing server.