After create the admin user, change the conf configuration file, which increase the auth=true
Start the mongo normal
Login:/mongo 127.0.0.1:25017/admin - u admin - p
Prompted for a password
Login password, error, failure, at the same time, the service was closed down
Trouble ask, this is what reason, thank you!

CodePudding user response:
Look at the admin repository system. Under the users table is to create a user successfully