MongoDB 3.x的用户添加和删除

添加用户 db.createUser({user:'',pwd:'',role:[]})

删除用户 db.dropUser('')

原文地址:https://www.cnblogs.com/xuanya/p/8360372.html