I tried to connect to a secure MongoDb instance using:
MongoDBConnection.username = "XXXX"
MongoDBConnection.password = "YYYY"
MongoDBConnection.authdb = "ZZZZ"
But theses parameters are never used. Instead, in order to connect the following works:
MongoDBConnection.host = "XXXX:YYYY@localhost/ZZZZ"
I tried to connect to a secure MongoDb instance using:
But theses parameters are never used. Instead, in order to connect the following works:
MongoDBConnection.host = "XXXX:YYYY@localhost/ZZZZ"