anchor.diff:  		private final MongoDatabaseFactory mongo;
   
   		@Autowired
  -		public MyBean(MongoDbFactory mongo) {
  +		public MyBean(MongoDatabaseFactory mongo) {
   			this.mongo = mongo;
   		}
   
  
positive.code: 
  [[boot-features-connecting-to-mongodb]]
  ==== Connecting to a MongoDB Database
  To access Mongo databases, you can inject an auto-configured `org.springframework.data.mongodb.MongoDatabaseFactory`.
  By default, the instance tries to connect to a MongoDB server at `mongodb://localhost/test`.
  The following example shows how to connect to a MongoDB database:
  
  
negative.code: 	spring.data.mongodb.uri=mongodb://user:secret@mongo1.example.com:12345,mongo2.example.com:23456/test
  ----
  
  Alternatively, you can specify connection details using discrete properties.
  For example, you might declare the following settings in your `application.properties`:
  
  [source,properties,indent=0,configprops]
  ----
  	spring.data.mongodb.host=mongoserver.example.com
  	spring.data.mongodb.port=27017
  	spring.data.mongodb.database=test
  	spring.data.mongodb.username=user
  	spring.data.mongodb.password=secret
  ----
  
  If you have defined your own `MongoClient`, it will be used to auto-configure a suitable `MongoDatabaseFactory`.
  
  TIP: If `spring.data.mongodb.port` is not specified, the default of `27017` is used.
  You could delete this line from the example shown earlier.
  
  TIP: If you do not use Spring Data MongoDB, you can inject a `MongoClient` bean instead of using `MongoDatabaseFactory`.
  If you want to take complete control of establishing the MongoDB connection, you can also declare your own `MongoDatabaseFactory` or `MongoClient` bean.
  
  NOTE: If you are using the reactive driver, Netty is required for SSL.
  