ConnectionString should default to using the specified DB and use a default mechanism

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Major - P3
    • legacy-1.0.0-rc3
    • Affects Version/s: legacy-1.0.0-rc2
    • Component/s: None
    • Environment:
      linux, gcc, c++11
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Connecting with ConnectionString works great when not authenticating.

      Authentication needs implicit authMechanism authSource declarations.

      I propose using the specified DB (if specified and authSource isn't) as the connection string already allows for this:
      mongodb://user:pass@host:port/DB

      Furthermore authMechanism has no default value and must be explicitly defined in the connection string.

              Assignee:
              Spencer Jackson
              Reporter:
              Pieter Jordaan
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: