Connect to Amazon RDS with Entity Framework

Question:

I’m running a RDS MySQL server and is moving my current environment to this.
I can connect fine with MySQL Workbench, but I’m getting the following, when trying to connect trough my .NET application with Entity Framework:

My connectionstring looks like this:

As I can connect in MySQL Workbench, I believe the Security Settings on AWS is correct.
Hopefully some of you can point me in the right direction.

Answer:

Turns out, that if you leave the portnumber out of the connectionstring everything works out just fine.
I think it’s getting too late.
At least I hope this helps someone 🙂

Leave a Reply