Mongoimport looks hung - Lab 1.1: Install Course Tools and Datasets

You need to do that outside the mongo shell.

In command prompt also it’s not progressing.

MongoDB Enterprise atlas-ojjqkj-shard-0:PRIMARY> mongoimport --drop -c people --uri mongodb+srv://m001-student:m001-mongodb-basics@m201-sandbox.yh4px.mongodb.net/m201 people.json

You are not

You are still inside the mongo shell but connected to an Atlas cluster.

1 Like

Got it. Thanks.