view can access database running locally