Uploaded image for project: 'MongoDB Database Tools'
  1. MongoDB Database Tools
  2. TOOLS-2358

mongodump 4.2 fails with -authenticationMechanism=PLAIN and no username

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Minor - P4 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 Unassigned
            Reporter:
            renato.riccio@mongodb.com Renato Riccio
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: