Details
-
Bug
-
Resolution: Done
-
Major - P3
-
None
-
None
-
Windows 7 64 bit, mongo DB 3.2.6
*Location*: https://docs.mongodb.com/getting-started/csharp/import-data/
*User-Agent*: Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E; InfoPath.3; rv:11.0) like Gecko
*Screen Resolution*: 1867 x 1167
Windows 7 64 bit, mongo DB 3.2.6 *Location*: https://docs.mongodb.com/getting-started/csharp/import-data/ *User-Agent*: Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E; InfoPath.3; rv:11.0) like Gecko *Screen Resolution*: 1867 x 1167
Description
Hello,
I tried 1) mongoimport --db test --collection restaurants --drop --file primer-dataset.json
2) mongoimport --host 127.0.0.1:27017 --db test --collection restaurants --drop --file primer-dataset.json
3) mongoimport --host localhost --db test --collection restaurants --drop --file primer-dataset.json
All gave the same error: Failed: error connecting to db server: no reachable servers
Would you please help?