摘要: 1 设置管理员账户 use admindb.createUser({ user: "useradmin", pwd: "adminpassword", roles: [{ role: "userAdminAnyDatabase", db: "admin" }] }) mongodb中的用户是基于身份 阅读全文
posted @ 2019-03-26 16:27 嘿.嘿.嘿 阅读(6719) 评论(0) 推荐(0)