【发布时间】:2018-10-31 18:58:40
【问题描述】:
即使我将安全组设置为允许所有流量,以下错误仍然显示。如何正确设置安全规则?
Warning: mysqli_connect(): (HY000/1130): Host '123.202.164.45' is not allowed to connect to this MySQL server in /Applications/XAMPP/xamppfiles/htdocs/data.php on line 16
Failed to connect to MySQL: Host '123.202.164.45' is not allowed to connect to this MySQL server
【问题讨论】:
-
问题:您尝试从哪里连接到 MySQL 实例?另外,您是真的从 EC2 节点运行 MySQL,还是在 RDS 的某个地方运行?
标签: php mysql amazon-web-services amazon-ec2