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

"db" returns hostname when connecting to remote host

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • 1.6.5
    • Shell
    • None
    • ALL

    Description

      $ ./mongo my-host

      MongoDB shell:
      > db
      my-host

      (In my sharded case, it also created a db "my-host" ...

      I think it could just display error "please select a db"

      Attachments

        Activity

          People

            Unassigned Unassigned
            adrien Adrien Mogenet
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: