Establish DB connection.