db.createUser({
"user":"hello3",
"pwd":"java",
"roles":[{"role":"readWrite","db":"admin"}]
});
结果创建的用户指向的数据库是test???
试了好几遍,都不行,为什么这是?
db.createUser({
"user":"hello3",
"pwd":"java",
"roles":[{"role":"readWrite","db":"admin"}]
});
结果创建的用户指向的数据库是test???
试了好几遍,都不行,为什么这是?