Cannot get collections for video database

I’m using this command to connect to class mongodb cluster
"c:\Program Files\MongoDB\Server\4.0\bin"\mongo.exe "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/aggregations?replicaSet=Cluster0-shard-0" --authenticationDatabase admin --ssl -u m121 -p aggregations --norc
And it worked fine earlier, but today i got this error:
MongoDB Enterprise Cluster0-shard-0:PRIMARY> show dbs
100YWeatherSmall 0.117GB
admin 0.000GB
aggregations 0.067GB
citibike 0.361GB
city 0.002GB
config 0.000GB
coursera-agg 0.083GB
local 1.076GB
mflix 0.292GB
results 0.000GB
ships 0.001GB
video 0.404GB
MongoDB Enterprise Cluster0-shard-0:PRIMARY> use video
switched to db video
MongoDB Enterprise Cluster0-shard-0:PRIMARY> show collections
Warning: unable to run listCollections, attempting to approximate collection names by parsing connectionStatus
MongoDB Enterprise Cluster0-shard-0:PRIMARY>

I also do not see any collections in this db in compass. What can possibly cause such problem?

@ Anton_25643

You will find the collections in the ‘aggregations’ database. Do use aggregations then do show collections. Good luck.

2 Likes

Chapter 2 Lab 1 expects results from video db. How to complete the lab?

Are you not able to see the db?
show dbs
then switch to video DB by
use video

@Nithyabharathy as explained in the other two multiple threads that you’ve posted in, use the aggregations db alone. All other dbs are not available for this course.

1 Like