1 回答
- 最新
- 投票最多
- 评论最多
1
Check this article out :)
You don't need to add proxy, you just need to change the connection string in your Lambda, everything else is handled by AWS.
Of course, you need to set up RDS Proxy, but in the code, there is almost nothing to be done and it doesn't matter if you are using .net.
已回答 2 年前
相关内容
- AWS 官方已更新 3 年前
- AWS 官方已更新 3 年前
- AWS 官方已更新 3 个月前
I have this line here, When I pass the rdsProxyEndpoint it gives an error (mentioned below). It is failing because the connection string isn't good or in a standard format. I have tried to hard code the RDS Proxy Endpoint but it still gives the same error. Any solution for this?
DbConnection connection = new MySqlConnection(rdsProxyEndpoint); //error appears here
Error: Format of the initialization string does not conform to specification starting at index 0
I think there must be something wrong in the connection string hmmm
Could you verify your connection string using this article?
You can also check this thread about how connection string should be formatted.