[DOCS-14716] correction to replicaset documentation Created: 05/Aug/21  Updated: 30/Oct/23  Resolved: 02/May/22

Status: Closed
Project: Documentation
Component/s: manual, Server
Affects Version/s: None
Fix Version/s: Server_Docs_20231030

Type: Task Priority: Major - P3
Reporter: Dror Mikdash (Inactive) Assignee: Jeffrey Allen
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:
Days since reply: 1 year, 40 weeks, 2 days ago
Epic Link: DOCSP-17419
Story Points: 2

 Description   

page https://docs.mongodb.com/manual/tutorial/deploy-replica-set/#connect-to-one-of-the-mongod-instances

refers to the following command:

mongo

However it may be required to show the following command, because running mongo doesnt work if you change the port number:

mongosh localhost:<port-number>

Running with port number only : mongosh <port> doesnt work (!)

Scope of Changes

  • Change the mongo command to be mongosh.
  • Add a short sentence to the effect of "If your mongod is not running on the default port, specify the "port" option. You can link to the "port" option by using :option:`--port <mongosh --port>`


 Comments   
Comment by Githook User [ 02/May/22 ]

Author:

{'name': 'jeff-allen-mongo', 'email': 'jeffrey.allen@10gen.com', 'username': 'jeff-allen-mongo'}

Message: (DOCS-14716): Use mongosh in replica set tutorial (#1056)

  • (DOCS-14716): Use mongosh in replica set tutorial
  • wording
Comment by Githook User [ 02/May/22 ]

Author:

{'name': 'jeff-allen-mongo', 'email': 'jeffrey.allen@10gen.com', 'username': 'jeff-allen-mongo'}

Message: (DOCS-14716): Use mongosh in replica set tutorial (#1056)

  • (DOCS-14716): Use mongosh in replica set tutorial
  • wording
Comment by Githook User [ 02/May/22 ]

Author:

{'name': 'jeff-allen-mongo', 'email': 'jeffrey.allen@10gen.com', 'username': 'jeff-allen-mongo'}

Message: (DOCS-14716): Use mongosh in replica set tutorial (#1056)

  • (DOCS-14716): Use mongosh in replica set tutorial
  • wording
Generated at Thu Feb 08 08:11:02 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.