简体   繁体   English

PHP连接到Amazon EC2

[英]PHP connecting to amazon EC2

Even when I set the security group to allow all traffic, the following error keeping showing. 即使将安全组设置为允许所有流量,也会显示以下错误。 How should I set the security rules properly? 我应该如何正确设置安全规则?

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

Solved, thanks! 解决了,谢谢! MySQL forbids remote login for the root account. MySQL禁止远程登录root帐户。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM