1 回答
- 最新
- 投票最多
- 评论最多
0
Hello,
As you may know already, MongoDB atlas requires an additional "+srv" thing in the connection URL, could you please check if you have included "+srv" in the URL.
MongoDB Atlas URL need to be provided in the format: mongodb+srv://mongoHost:mongoPort/mongoDBname.
You can also go through below AWS documentation to verify if you are missing any steps or configuration.
[1] MongoDB connections - https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-etl-connect-mongodb-home.html
[2] Testing an AWS Glue connection - https://docs.aws.amazon.com/glue/latest/dg/console-test-connections.html
You can also refer below documentations to understand different deployment options.
https://aws-ia.github.io/cfn-ps-mongodb-atlas/#_deployment_options
Yes, my url is mongodb+srv://my-company.some-code.mongodb.net/db-name Where i get the url in this format? mongodb+srv://mongoHost:mongoPort/mongoDBname
相关内容
- AWS 官方已更新 2 年前
- AWS 官方已更新 3 年前
- AWS 官方已更新 3 年前
- AWS 官方已更新 2 年前
I am getting an identical error ("InvalidInputException: Unable to resolve any valid connection") when I try to test a glue connector to my mongoDB atlas database. The connection string, user and password work fine on another client.