> mongo
MongoDB shell version: 2.0.1
connecting to: test
test[17:27:54]> db.foo.find()
error:
// RESTART MONGOD SERVER
test[17:28:19]> db.foo.find()
Wed Nov 9 17:30:04 DBClientCursor::init call() failed
Wed Nov 9 17:30:04 query failed : test.foo {} to: 127.0.0.1
Error: error doing query: failed
Wed Nov 9 17:30:04 trying reconnect to 127.0.0.1
Wed Nov 9 17:30:04 reconnect 127.0.0.1 ok
test[17:30:4]> db.foo.find()
error: {
"$err" : "unauthorized db:test lock type:-1 client:127.0.0.1",
"code" : 10057
}
- is depended on by
-
SERVER-4237 Enable the full js test suite to run with authentication enabled
- Closed