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.
Error installing NodeBB with Mongo
I'm not able to finish NodeBB installation using MongoDB. After this:
Now configuring mongo database:
prompt: MongoDB connection URI: (leave blank if you wish to specify host, port, username/password and database individually)
Format: mongodb://[username:[email protected]]host1[:port1][,host2[:port2],...[,hostN[:portN]]][/[database][?options]]:
I get this: error: uncaughtException: Cannot read property 'value' of null
TypeError: Cannot read property 'value' of null
MongoDB is running normally.
I have tested with MongoDB version 4.0.19 and version 4.2. None of them worked...
No problem installing with Redis.
Could anyone help me with this?
Do you get the error when you leave the connect URI blank and press enter? What version of nodejs? I tested just now on latest master and worked fine on mongodb.
@baris thank you for replying. I get this error leaving the connect URI blank or filling it. My installed nodejs version is 12.18.3. What's your NodeBB and MongoDB version?
MongoDB 4.2.7, nodejs 14.6.0, latest master from nodebb repo.