[SERVER-1757] Prompt should include server/db Created: 08/Sep/10  Updated: 19/Apr/12  Resolved: 08/Sep/10

Status: Closed
Project: Core Server
Component/s: Shell
Affects Version/s: 1.7.0
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: Scott Hernandez (Inactive) Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:

 Description   

Have the default shell prompt show the server and db names.

So when you are connected it would look like this:

localhost/test>

If the port is non-standard it should included (server:port).

Optionally you could also include other notations for master (m), slave (s), replicaset (rs), mongos (p – for proxy), ...

We could even go as far as this "localhost(p)-server1(m-rs)/test>" to indicate that you are connected through a mongos (proxy) to a replicaset on the current master node (server1) on database test



 Comments   
Comment by Eliot Horowitz (Inactive) [ 08/Sep/10 ]

See SERVER-1381
Added your comment there

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