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

configDB parameter of mongos should be configdb (lower case)

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 01112017-cleanup
    • None
    • manual
    • None

    Description

      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
      

      Attachments

        Activity

          People

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

            Dates

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