Create connection to db.

Change-Id: I77b1e38bf9e14175770e881998b2a943b02da264