我正在使用XAMPP for Windows5.6.14 .yesterday我安装了XAMPP,并配置了Apache和MySQL端口并连接到本地主机。今天,当我在启动MySQL和Apache后尝试连接到本地主机phpmyadmin时,我也能够创建数据库。网站可能已关闭,或者您的网络配置不正确。
我怎么才能解决这个问题呢?
我有下面的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<