Uploaded image for project: 'Python Driver'
  1. Python Driver
  2. PYTHON-199

Connection requires use of *optional* username:password@ when uri is used

    • Type: Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:
      pymongo 1.9

      pymongo.Connection(host="mongodb://mongohost/mongodb")

      yields

      raise InvalidURI("cannot specify database without "
      pymongo.errors.InvalidURI: cannot specify database without a username and password

            Assignee:
            bernie@mongodb.com Bernie Hackett
            Reporter:
            scubahubby Oscar Steele
            Votes:
            3 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: