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

configDB parameter of mongos should be configdb (lower case)

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 01112017-cleanup
    • Affects Version/s: None
    • Component/s: manual
    • Labels:
      None

      In https://docs.mongodb.com/manual/tutorial/deploy-shard-cluster/#connect-a-mongos-to-the-cluster the command line parameter in:

      mongos --configDB <configReplSetName>/cfg1.example.net:27017,cfg2.example.net:27017,...
      

      configDB should be configdb (lower case db) as mentioned in https://docs.mongodb.com/manual/reference/program/mongos/#cmdoption--configdb

      In MongoDB 3.2 the following error message would show if configDB is used:

      $ mongos --configDB
      Error parsing command line: unknown option configDB
      try 'mongos --help' for more information
      

            Assignee:
            ravind.kumar Ravind Kumar (Inactive)
            Reporter:
            amar.hamzeh@mongodb.com Amar Hamzeh
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              7 years, 40 weeks, 5 days ago