Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-1757

Prompt should include server/db

    • Type: Icon: Improvement Improvement
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 1.7.0
    • Component/s: Shell
    • Labels:
      None

      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

            Assignee:
            Unassigned Unassigned
            Reporter:
            scotthernandez Scott Hernandez (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: