Add user and authentication to mongodb and set up administrator account? ?

  mongodb, question

![图片描述

图片描述

图片描述

First of all, you have to set the password
Installed
Start service
service mongod start
Start ok

mongo admin -u freewolf -p 123456
Create account password

And then Ok