Last active
September 19, 2018 09:29
-
-
Save pi0/886304da89d183ab66167215ba2f7cb4 to your computer and use it in GitHub Desktop.
Mongo Shell 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
use admin | |
db.createUser({ user: "root", pwd: "root", roles: [ "root" ] }) |
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
use admin | |
db.changeUserPassword('root', 'root') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment