I'm trying to create a database with user name and password, some answers says to addUser for admin .but there isn't any database called in by mongodb.
I run the mongodb with super user privilege.
MacBook:~ root# mongod
or
MacBook:~ macbook$ mongo
the in new tab I run following command
MacBook:~ root# mongo
then I see for my dbs with show dbs command it show followings
>show dbs
clist 0.078GB
hinfo 0.078GB
local 0.078GB
I tried with this local database with system.indexes but I didn't get any succesful result. am I wrong with doing this. hope your help. I'm new to mongodb and I'm using monogo 3.2.4 versioin