I have two separate clusters as I am following along with M001: MongoDB Basics course. These clusters have one of the db with the same name (video). As you can see below I can access any of the dbs in the cluster(name m001 snadbox) but when I try to use db (video) it always returns the one from the other cluster(cluster0-shard-00-01) which I am not even connected to in compass.
I am using ubuntu 20.04 and I am running this in the terminal:
mongo "mongodb://cluster0-shard-00-00-jxeqq.mongodb.net:27017,cluster0-shard-00-01-jxeqq.mongodb.net:27017,sandbox.a5jmd.mongodb.net:27017/test?replicaSet=Cluster0-shard-0" --authenticationDatabase admin --ssl --username m001-student --password m001-mongodb-basics