change dbConnect to accept a hostname