add more info to adding user

This commit is contained in:
Lee 2023-06-28 12:38:08 +01:00
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.