Mongo db admin is not authorized to execute commands

后端 未结 0 1530
别那么骄傲
别那么骄傲 2020-11-29 22:20

I have created a user in the admin db with the following command:

db.createUser({user: \'username\', pwd: \'pass\', roles: [ { role: \'root\', db: \'admin\' }         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题