mongoimport not working for mongodb 4.4, not in bin folder

Viewed 3123

I am using mongodb 4.4 and while trying to import some JSON files getting some error of 'mongoimport' is not recognized as the name of a cmdlet, function.

2 Answers

from MongoDB version 4.4 the database utility tools are released separately hence you will need to download the files and copy it to your MongoDB directory

Steps on doing this.

  1. download tools from https://www.mongodb.com/try/download/database-tools scroll down and click on MongoDB Database tools select your platform and download zip
  2. unzip the file and copy the required tools images to show this

3. copy file to your mongodb bin folder and paste for windows path is : C:\Program Files\MongoDB\Server\4.4\bin

Related