Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/mysql/60.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
在Amazon EC2 Windows实例上远程访问MySQL_Mysql_Windows_Amazon Ec2_Remote Access - Fatal编程技术网

在Amazon EC2 Windows实例上远程访问MySQL

在Amazon EC2 Windows实例上远程访问MySQL,mysql,windows,amazon-ec2,remote-access,Mysql,Windows,Amazon Ec2,Remote Access,我找到了一些Linux的解决方案 但没有为Windows找到任何解决方案。我的.cnf不在Windows上。我只有我的.ini。其中没有绑定地址 我已经为MySQL添加了一个入站规则 谁能给我一些建议吗?非常感谢 以下是我要检查的内容: 通过远程桌面连接到实例并尝试在实例上连接到该实例,验证MySQL服务是否已启动并正在运行 如果这样,请尝试修改或禁用Windows防火墙,以确保外部计算机可以连接到相关端口。根据Windows版本的不同,您可能需要在几个地方进行修改(即Windows防火墙和具有

我找到了一些Linux的解决方案

但没有为Windows找到任何解决方案。我的.cnf不在Windows上。我只有我的.ini。其中没有绑定地址

我已经为MySQL添加了一个入站规则


谁能给我一些建议吗?非常感谢

以下是我要检查的内容:

  • 通过远程桌面连接到实例并尝试在实例上连接到该实例,验证MySQL服务是否已启动并正在运行
  • 如果这样,请尝试修改或禁用Windows防火墙,以确保外部计算机可以连接到相关端口。根据Windows版本的不同,您可能需要在几个地方进行修改(即Windows防火墙和具有高级安全性的Windows防火墙)

  • 如果您使用的是带有Entity Framework的Asp.Net应用程序,则需要在EC2实例上安装MySQL连接器(我建议运行
    iisreset
    ,以确保加载dll)