Uploaded image for project: 'C# Driver'
  1. C# Driver
  2. CSHARP-119

Connection string does not support , as a delimiter as specified in doc

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • 0.7
    • 0.7
    • None
    • None
    • N/A
    • Fully Compatible

    Description

      According to http://www.mongodb.org/display/DOCS/Connections the delimiter for connection string options is comma although there is a caveat on the page that states that not all drivers support the syntax yet.
      This may be confusing to devs using the .dll only as you need to dig into the source code to find the supported delimiter.

      Currently supports:
      mongodb://host1,host2,host3/?connect=direct;slaveok=true

      Should support as well:
      mongodb://host1,host2,host3/?connect=direct,slaveok=true

      Attachments

        Activity

          People

            robert@mongodb.com Robert Stam
            derfel J W Lee
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: