mongoimport is not recognized
From version 4.4 onwards, you have to install MongoDB tools separately
https://www.mongodb.com/try/download/database-tools?tck=docs_databasetools
Unzip and move the contents within
path_to_your_extracted_folder\mongodb-database-tools-windows-x86_64-100.3.0\bin
to
C:\Program Files\MongoDB\Server\4.4\bin
3
1
mongoimport.exe -h localhost:27017 -d sampleTestDB -c testc -u "" -p "" D:\mongoSample.json
Thank you!
1
0
Are there any code examples left?
New code examples in category Other