Unable to find any data in the Atlas Cluster

I connected to the Atlas Cluster using the mongo “mongodb://cluster0-shard-00-00-jxeqq.mongodb.net:27017,cluster0-shard-00-01-jxeqq.mongodb.net:27017,cluster0-shard-00-02-jxeqq.mongodb.net:27017/test?replicaSet=Cluster0-shard-0” --authenticationDatabase admin --ssl --username m001-student --password m001-mongodb-basics command.

I then switched to the movies db using “Use Movies”.

When I use the command Show Collections or db.getCollectionNames() , I get as the response. Anyone else face this issue?

its because the db is under video so it should be

use video

there is not movies lol also did you make sure to load the javascript file?


1 Like