db connect spec