started connecting to the database.