MongoDB Authentication in a Sharded Cluster -
i'm trying set authentication in sharded cluster. shards, config servers , mongos running without --auth
or keyfile information.
when i'm connecting mongo
, trying create user:
db.createuser({ user: "test", pwd: "test", roles: [] });
i next error:
error: couldn't add together user: not lock auth info update lock. @ src/mongo/shell/db.js:1004
does know causes error , how prepare it?
mongodb authentication
No comments:
Post a Comment