给mongodb添加用户和认证以及设置管理员账号??
滿天的星座
滿天的星座 2017-04-28 09:04:54
0
2
698

滿天的星座
滿天的星座

reply all(2)
滿天的星座

First you have to set a password
The installation is complete
Start the service
service mongod start
Start ok

mongo admin -u freewolf -p 123456
Create account and password

Then OK

滿天的星座

It seems that the poster’s interface is the same as the Robomongo interface I use. The default mongo localhost: 27017 username and password are empty, so you can connect directly. If you have not added a username and password to mongo, there is no need to check the Authentication section.

mongo add new user:

https://docs.mongodb.org/manual/tutorial/manage-users-and-roles/

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template