Answer the question
In order to leave comments, you need to log in
Why can't dbOwner do show dbs?
The documentation clearly states
The database owner can perform any administrative action on the database. This role combines the privileges granted by the readWrite, dbAdmin and userAdmin roles.
{ "_id" : "admin.enduser", "user" : "enduser", "db" : "admin", "credentials" : { "SCRAM-SHA-1" : { "iterationCount" : 10000, "salt" : "777777777777777/Lg==", "storedKey" : "777777777777777=", "serverKey" : "7777777777777=" } }, "roles" : [ { "role" : "dbOwner", "db" : "admin" } ] }
show collections
in admin Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question