Created
April 7, 2016 21:43
-
-
Save igorsokolov/01cb7fa08521354c5ffbbe6f6d04aba3 to your computer and use it in GitHub Desktop.
This file contains hidden or 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: "<username>", | |
pwd: "<password>", | |
roles: [ { "role" : "readWrite", "db" : "<database_name>" } ] | |
} | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment