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
Invalid database name with MongoDB and replica set #6482
Comments
+1, I ran into the same problem after upgrading to 0.2.25. Downgrading to 0.0.24 resolved the issue. |
+1, solved by reverting to 0.2.24 |
More information needed - can you include how you are specifying this for TypeORM so I can replicate locally? |
Awesome, thank you James! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Issue type:
[ ] question
[x] bug report
[ ] feature request
[ ] documentation issue
Database system/driver:
[ ]
cordova
[x]
mongodb
[ ]
mssql
[ ]
mysql
/mariadb
[ ]
oracle
[ ]
postgres
[ ]
cockroachdb
[ ]
sqlite
[ ]
sqljs
[ ]
react-native
[ ]
expo
TypeORM version:
[ ]
latest
[ ]
@next
[x]
0.2.25
(or put your version here)Steps to reproduce or a small repository showing the problem:
After upgrading to version
0.2.25
my application can't connect to MongoDB.Invalid database name: 'siteDatabase?readPreference=primary&replicaSet=RS&authSource=siteDatabase'
On production environments I have a replica set and the URI is like the following.
The text was updated successfully, but these errors were encountered: