How can I specify a host and path to connect to Mongo hosted on a remote server?

XMLWordPrintableJSON

    • Type: Question
    • Resolution: Done
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      My mongo DB is hosted a remote server is I try to connect like this:

      mongo -u user -p password --host my.host.net/mongo

      the client thinks that mongo is my DB when in fact is the path.

      How can I specify a different path from root?

            Assignee:
            Danny Hatcher (Inactive)
            Reporter:
            Daniel Montero
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: