New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to use it with MongoDB Atlas? #31
Comments
Hello there!
Try to construct the You can put your user and password in the first part of connection string like this:
|
Yea, solved. Thanks you. |
Your original approach should be now working as well in v2.1 |
I am trying to use mikro-orm with MongoDB Atlas, but I am getting a permissions error.
I think I have followed the documentation correctly. Here the relevant code.
index.ts
ormClient.ts
entities/business.ts
webServer.ts
middlewares/ormContext.ts
providers/businessStore.ts
And the output of start the application and do one request:
As you can see using the MongoDB native driver with same credentials all work well.
The text was updated successfully, but these errors were encountered: