Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-1378

Comment on: "manual/reference/connection-string.txt"

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None

    Description

      The page does not include a connection string for a database with options.

      For example, I wanted to connect to a database and provide a replicaset name in the URI. Given the reference material I would expect to use:

      mongodb://myuser:myspass@primaryserver.domain.com:37017,primaryserver.domain.com:37027/mydata?replicaSet=myreplicaset

      I believe the string above to be correct. If this was in the documentation and explicitly described then I would know that the mongo client I was using was failing to parse the string correctly. Currently I don't know what the problem is.

      Attachments

        Activity

          People

            sam.kleinman Sam Kleinman (Inactive)
            auto auto
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              10 years, 44 weeks, 2 days ago