connect to mongodb succeed