Allow access to MySQL server installed on Amazon EC2 through C# -


I installed a MySQL server 5.5 on the Amazon EC2 machine. But it can not be connected using mysql-connecter-for.net using C # I:

  Host name = EC2 machine's IP address port = 3306 username = Password =   

However, it closes the error: "The connection should be open and valid."

I can not find any tutorials internet. Please guide.

You will need to edit the security group of your EC2 example. Add a MySQL entry with specified IP address (0.0.0.0/32 will accept connections from any IP address).

Comments

Popular posts from this blog

Verilog Error: output or inout port "Q" must be connected to a structural net expression -

jasper reports - How to center align barcode using jasperreports and barcode4j -

c# - ASP.NET MVC - Attaching an entity of type 'MODELNAME' failed because another entity of the same type already has the same primary key value -