i need help by installing nodebb
Solved
Technical Support
-
i'm stuck in this step
Enable database authorization
after i do this step i get an errorMongoDB shell version v5.0.3 connecting to: mongodb://127.0.0.1:27017/?authSource=admin&compressors=disabled&gssapiServiceName=mongodb Error: Authentication failed. : connect@src/mongo/shell/mongo.js:372:17 @(connect):2:6 exception: connect failed exiting with code 1
someone can help me please?
-
You get that when executing the following?
mongo -u admin -p your_password --authenticationDatabase=admin
You used the same password you added in this command:
db.createUser( { user: "admin", pwd: "<Enter a secure password>", roles: [ { role: "root", db: "admin" } ] } )
Was that command successful?
-
Copyright © 2024 NodeBB | Contributors