0

I found some solutions for Linux here.

But didn't find any solution for Windows. I don't have my.cnf on Windows. I only have my.ini. there is no bind-address in it.

I have already added an inbound rule for MySQL.

Could anybody give me some advice? Thanks a lot!!!

Community
  • 1
  • 1
ZZZ
  • 3,574
  • 10
  • 34
  • 37

2 Answers2

0

Here's what I would check:

  1. Verify that the MySQL service is up and running by remote desktop'ing to the instance and trying to connect to it on the instance.
  2. If that checks out, try modifying or disabling Windows Firewall to ensure that outside machines can connect on the relevant port. Depending on the Windows version, there might be several places that you need to fiddle with this (i.e. both Windows Firewall and Windows Firewall with advanced security).
friism
  • 19,068
  • 5
  • 80
  • 116
0

If you're using an Asp.Net Application with Entity Framework, you will need to install the MySQL connector on the EC2 instance (I would suggest running iisreset to make sure the dll's are loaded).

Christopher Stevenson
  • 2,843
  • 20
  • 25