Merge db connect