Closed anteqkois closed 4 months ago
Thank you for taking the time to submit your report! From the looks of it, this could be better discussed on our Discord. If you haven't already, please join here and send a new post in the # 🐈 nestjs-help forum. Make sure to include a link to this issue, so you don't need to write it all again. We have a large community of helpful members, who will assist you in getting this to work.
Is there an existing issue for this?
Current behavior
Can not connect to the database when I use connectionName argument, I get " Unable to connect to the database. Retrying (1)" error.
Minimum reproduction code
Can not provide databse connection
Steps to reproduce
Use this module to connect to the databases:
Using simple forRoot works, but forRootAsync not. When I use forRootAsync without connectionName it also works. It don't provide any additional error logs
Expected behavior
Connect to database
Package version
10.0.4
mongoose version
10.0.4
NestJS version
8.1.3
Node.js version
20.11.1
In which operating systems have you tested?
Other
No response