Short of using OAuth2, you could write your own app component to tie NodeBB into MySQL. One of the issues is that MySQL is a generic database so the format of your authentication easily won't match in some obvious way, so needs a customer connectors no matter what. Just adding another DB source for authentication would not solve your problem. It would have to be something that connects to your database and has the ability to understand your schema and has the ability to store all necessary additional schema changes there.
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?
-
י יצחק מרדכי טאבאק has marked this topic as solved on