self-hosted
self-hosted copied to clipboard
bug: The problem of authorization in MongoDB
What happened?
I want to install Mango on an external server. But I get an error when registering.
Maybe you will have some ideas how to fix it?
The error states that the user you've created does not have adequate permissions, please refer to the MongoDB documentation:
- https://www.mongodb.com/docs/manual/reference/command/createUser/
- https://www.mongodb.com/docs/manual/reference/command/grantRolesToUser/
You are likely looking for readWrite to the revolt database for these users.