

2017-02-14T15:59:04.556+0800 I CONTROL [initandlisten]
> show dbs;
admin 0.000GB
local 0.000GB
> use ****
switched to db ****
> db.movies.insert({'abc':"abc"});
WriteResult({ "nInserted" : 1 })
> db.createUser({user:'****',pwd:'****',roles:[{role:'dbOwner',db:'*****'}]})
Successfully added user: {
"user" : "****",
"roles" : [
{
"role" : "dbOwner",
"db" : "****"
}
]
}
>