Created
March 25, 2022 10:55
-
-
Save jgeek/67a756e684a0aa3438c22a74fd9d3345 to your computer and use it in GitHub Desktop.
mongo commands
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
db.createUser( | |
{ | |
user: "da", | |
pwd: "da@dp", | |
roles: [ { role: "root", db: "admin" } ] | |
} | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment