Specifying no database in the URI triggers auth

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.1.12
    • 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.

              Assignee:
              David Golden
              Reporter:
              David Golden
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: