rIt seems like there's a regression bug
Prior to 3.4.2 this command succeeded:
mongo --host rs0/machine48 management some.js
The current output I'm getting is:
MongoDB shell version v3.4.2
connecting to: mongodb://rs0/machine48:27017/management
2017-02-22T19:49:33.827+0200 E QUERY [thread1] Error: Failed to parse mongodb:// URL: mongodb://rs0/machine48:27017/management :
connect@src/mongo/shell/mongo.js:237:13
@(connect):1:6
exception: connect failed
- is duplicated by
-
SERVER-30921 mongo cli --host argument regression from 3.2 to 3.4
- Closed
- is related to
-
SERVER-31437 Fix parsing of `mongo host/db` connect string
- Closed
- related to
-
SERVER-27289 Shell: mongo --host replSet/Host:Port no longer works
- Closed