Last active
August 7, 2019 14:07
-
-
Save jingmian/1daee1498decc6ee4838d6903061c43d to your computer and use it in GitHub Desktop.
mongo操作笔记
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
##开启auth后,需要验证登录 | |
>use admin; | |
> db.auth('root', '123456'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment