mingo-app / mingo

Found a bug? have a FR ?
59 stars 3 forks source link

[FR] Please make it possible to connect to Azure CosmosDB #595

Open sittingbool opened 1 year ago

sittingbool commented 1 year ago

Is your feature request related to a problem? Please describe. I am looking for good client to manage my data on Azure CosmosDB which has a MongoDB interface supporting Mongo 4, soon Mongo 5.

Issue I cannot connect. Mingo tells me that I did not select a database. But the connection string is like that. Also the appname has @ in it (two of them, set by Azure) which are replaces into url encoded %-escapes. Not sure if that will work.

Describe the solution you'd like That Mingo supports Azure CosmosDB MongoDB-interface

Describe alternatives you've considered so far I can only choose another tool.

Additional context URL looks like that: mongodb://myapp:SuperS3cretT0k3n==@mayapp.mongo.cosmos.azure.com:10255/?ssl=true&replicaSet=globaldb&retrywrites=false&maxIdleTimeMS=120000&appName=@myapp@

sittingbool commented 1 year ago

Turns our direct connection works. But having one cluster per environment of a project does not.

tothradoslav commented 9 months ago

what do you mean by "direct connection" ? like using a connection instead of a project?

tothradoslav commented 9 months ago

I tried creatin an azure cosmosdb testing account, but it was almost impossible, I honestly gave up. Is there any chance you could create a temporary new username/password connection to a dummy database and send me the mongodb URI so I could test it properly without using your credentials? Thank you!