MongoDB设置密码登录

##1.创建user administrator## ```prettyprint > use admin > db.createUser( { user: "myUserAdmin", pwd: "abc123", roles: [ { role: "userAdminAnyDatabase", db: "admin" } ] } ) ``` #####关于ro...
阅读全文