Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-11072

Problem running "mongoimport command"

    • Type: Icon: Bug Bug
    • Resolution: Works as Designed
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: None
    • Environment:
      Windows OS

      Generally this should work as per the documentation, but it ain't working if you are trying to execute from the server after connecting to "mongo.exe"

      mongoimport --db test --collection restaurants --drop --file ~/downloads/primer-dataset.json

      Instead, before even entering the mongo.exe console, at bin, the below command is importing the data -

      mongoimport.exe --db test --collection restaurants --drop --file ~/downloads/primer-dataset.json

            Assignee:
            stephen.steneker@mongodb.com Stennie Steneker (Inactive)
            Reporter:
            xgen-internal-docs Docs Collector User (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              6 years, 3 weeks, 3 days ago