Server database opens when local database is clicked

When I double click my mail file on local, the server database opens. Is there a way to always force the local copy to open?