[DOCS-9033] Support MongoDB URIs as mongo shell argument Created: 28/Sep/16  Updated: 30/Oct/23  Resolved: 21/Jan/18

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

Type: Task Priority: Trivial - P5
Reporter: Emily Hall Assignee: Unassigned
Resolution: Duplicate Votes: 2
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Documented
documents SERVER-6233 Support MongoDB URIs as mongo shell a... Closed
Duplicate
duplicates DOCS-9808 mongo --host doesn't mention new supp... Closed
Participants:
Days since reply: 7 years, 20 weeks ago

 Description   

It would be more consistent with the drivers if the shell supported URIs, in addition to --host replSetName/seed-list format it already supports.
E.g.

mongo mongodb://test:test@127.0.0.1:27017/test

Original description was:
The shell appears not to be able to take mongodb:// urls as elements of argv.
The shell appears not to be able to connect to a replica set specified as <rsname>/host1[:port1][,host2:[:port2]...] as elements of argv. Either of these would be nice, but if we do just one, the first is better than the second, as the double-slashes in the URL are already an error for the shell's idiosyncratic connection syntax.


Generated at Thu Feb 08 07:57:27 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.