我有下面的php代码来连接到mysql。mysql_connect( "myserver.com" , "root", "redhat","datastore") or die(mysql_error()); Warning: mysql_connect(): Host '10.21.21.10' is not allowed to connect to this <
我可以连接到星号MySQL数据库(asteriskcdrdb),一切正常。星号服务器位于我的局域网。我可以用Mysql客户端应用程序从我的计算机连接到这个数据库。现在,我想连接这个数据库从另一个服务器,把互联网托管。我在ADSL调制解调器上设置了端口以连接到此数据库,但无法连接并获得以下错误: Communications link failure