-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: mongo-tools-common
-
None
Providing a URI without a database name triggers authentication, which fails:
$ ./bin/mongodump --uri="mongodb://localhost:27017" 2019-05-15T14:13:06.186-0400 Failed: error creating intents to dump: error getting database names: auth error: sasl conversation error: unable to authenticate using mechanism "SCRAM-SHA-1": (AuthenticationFailed) Authentication failed.
This is a tools bug that is incorrectly configuring for auth due to picking up the Go driver's connection string default.