Created
March 30, 2017 22:09
-
-
Save rick4470/e4f9a7b790933e00a6f6eda416636439 to your computer and use it in GitHub Desktop.
How to login with credentials to MongoDB 2.6?
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
| mongo --port 27017 -u "username" -p "STRONG PASSWORD GENERATED" --authenticationDatabase "admin" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment