mongodb创建管理员用户

db.createUser({user: "admin",pwd: "xxx",roles: ["root"]});

 

posted @ 2019-12-17 19:21  b̶i̶n̶g̶.̶  阅读(248)  评论(0)    收藏  举报