Hi,
For some simple testing, I am trying to drop the local database using the root role enabled user. but I am receiving an error, below I have shared logs.
command>:
1. use local
2. db.dropDatabase()
User:
{
"_id" : "admin.manosh",
"userId" : UUID("870d8587-17ac-48d4-b739-29cf56681551"),
"user" : "manosh",
"db" : "admin",
"roles" : [
{
"role" : "root",
"db" : "admin"
}
],
"mechanisms" : [
"SCRAM-SHA-1",
"SCRAM-SHA-256"
]
}