mongodb

#### 修改用户角色
db.grantRolesToUser( "reportsUser", [ { role: "read", db: "accounts" } ] )
原文地址:https://www.cnblogs.com/lizhanzhou/p/7212672.html