DB Permission Issue?

Anyone else getting the following error when trying to show collection?

m121 user does not have access to video DB
Please connect to aggregations and run the command
You should see collections

@Ramachandra_37567 sorry I didn’t get you . I have used the connection command provided in the Chapter 0, and I am getting this error, do you mean I need to connect using some different user.


The connection string as provided has the following settings


Notice the parameter “/aggregations” in the URL. If you use this you will be automatically placed into the ‘aggregations’ database, which you can verify once you are connected by issuing the command ‘db’.


The URL provided already puts you in the correct db ‘aggregations’. No other database in the cluster is available to you, so the ‘use video’ is an error. HTH.

thanks :slight_smile: