Hi. Noob question, why can't I find users created with:
use nodebb
db.createUser( { user: "nodebb", pwd: "password", roles: [ { role: "readWrite", db: "nodebb" }, { role: "clusterMonitor", db: "admin" } ] } )
Command shows: Successfully added user
I query {user:"nodebb"}
in all collections of nodebb
but got nothing. In nodebb
database, there are three collections: objects, sessions, socket.io
.