add more info to adding user
This commit is contained in:
parent
f5bce8ae80
commit
d71eb26037
@ -158,6 +158,8 @@ security:
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
mongo -u admin -p --authenticationDatabase admin
|
mongo -u admin -p --authenticationDatabase admin
|
||||||
|
# or if you didn't secure MongoDB, run the following command:
|
||||||
|
mongo
|
||||||
```
|
```
|
||||||
|
|
||||||
This will ask you for the password that you set earlier in the Securing MongoDB section.
|
This will ask you for the password that you set earlier in the Securing MongoDB section.
|
||||||
|
Loading…
Reference in New Issue
Block a user