MongoDB/密码
来自康健生活
< MongoDB
标题文字
> db.addUser('test','password')
{
"_id" : ObjectId("***"),
"user" : "test",
"readOnly" : false,
"pwd" : "***"
}
db.changeUserPassword('test','password');
No categories
> db.addUser('test','password')
{
"_id" : ObjectId("***"),
"user" : "test",
"readOnly" : false,
"pwd" : "***"
}
db.changeUserPassword('test','password');
No categories