mongodump 4.2 fails with -authenticationMechanism=PLAIN and no username

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: None
    • None

      mongodump 4.2 fails when --authenticationMechanism=PLAIN is used without a password.  The same command line succeeded in 4.0 and earlier.

       

      (17:01:34)(v4.2.0)->  mongodump --port 40000 --authenticationMechanism=PLAIN
      (17:01:34)(v4.2.0)->  mongodump --port 40000 --authenticationMechanism=PLAIN2019-09-03T17:01:37.616+0200 Failed: can't create session: could not connect to server: connection() : auth error: unable to authenticate using mechanism "PLAIN": (BadValue) Unsupported mechanism 'PLAIN' on authentication database '$external' 

            Assignee:
            Unassigned
            Reporter:
            Renato Riccio
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: