On linux
LocalServer> ./mongo SomeIPAddress:27000/admin -u DBAsupport -p Mypassword
haven't figured how to connect on a windows machine properly syntax is slightly different.
When I do this I can I'm connected to
connecting to: SomeIPAddress:27000/admin
> show dbs;
admin 0.08GB
local 0.08GB
// Connecting mongo shell for the first time
ankit:27017(mongod-3.0.5) test> show dbs
local → 0.078GB // Note "test" is not shown although I was connected to "test"
// Inserted an empty document
ankit:27017(mongod-3.0.5) test> db.coll.insert({})
Inserted 1 record(s) in 145ms
WriteResult(
{ "nInserted": 1 }
)
ankit:27017(mongod-3.0.5) test> show dbs
local → 0.078GB
test → 0.078GB // Now, notice that test is showing up in this list