mongodb权限时间:2023-03-10 03:33:29 1.在无密码模式下添加账号 db.createUser( { user: "user", pwd: "pwd", roles: [ { role: "readWrite", db: "test1" },{ role: "readWrite", db: "test2" } ] } ) 2.角色权限说明 http://www.2cto.com/database/201507/420854.html