$ mongo MongoDB shell version: 2.0.0 connecting to: test > use admin switched to db admin > db.auth('admin', '******') 1 Then I can connect to other databases and run commands
Then I accidentally hit ctrl-C, so I try to login again.
$ mongo MongoDB shell version: 2.0.0 connecting to: test > use admin switched to db admin > db.auth('admin', '******') 0 I can no longer auth against the admin collection. I assume this is because my previous login somehow didn't get cleared out, or is locked? How do I fix that?