Answer the question
In order to leave comments, you need to log in
Why is mongodb not working on openserver?
I recently started using mongodb instead of mysql, I need to make sure that unauthorized users are not given access to the database. I read the documentation, it says that you need to put
security:
authorization:enabled
Answer the question
In order to leave comments, you need to log in
Well, you enabled authorization. Have you created a login user and password?
When connecting, respectively, it is necessary to transfer the username and password.
For these settings to work, as well as how to add a user and password for authorization, you can read here
https://docs.mongodb.com/manual/core/authentication/
https://medium.com/mongoaudit/how-to-enable- authen... Just
like in the MySQL you mentioned. You need to create a user and password, and give the user access to the database.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question