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

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

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:
      pymongo 1.9
    • # Replies:
      11
    • Last comment by Customer:
      false

      Description

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

      yields

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

        Attachments

          Activity

            People

            • Votes:
              3 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since reply:
                6 years, 26 weeks, 6 days ago
                Date of 1st Reply: