[scripts] (master)$ mongo localhost:28000
|
MongoDB shell version: 2.8.0-rc0
|
connecting to: localhost:28000/test
|
> use admin
|
switched to db admin
|
> db.auth('mms-monitoring-agent','monitoring')
|
Error: 8 no such cmd: saslStart
|
0
|
> ^C
|
bye
|
[scripts] (master)$ /usr/local/mongo243/bin/mongo localhost:28000
|
MongoDB shell version: 2.4.3
|
connecting to: localhost:28000/test
|
> use admin
|
switched to db admin
|
> db.auth('mms-monitoring-agent','monitoring')
|
1
|
> show dbs
|
admin 0.203125GB
|
config (empty)
|
local 0.078125GB
|