当前位置:Gxlcms > PHP教程 > 远程连接mysql10060异常

远程连接mysql10060异常

时间:2021-07-01 10:21:17 帮助过:7人阅读

远程连接mysql 10060错误
远程连接mysql 10060错误
Could not connect: Can't connect to MySQL server on '***.***.***.***' (10060)

代码是
$con = mysql_connect("***.***.***.***","user","Password");
if (!$con)
{
die('Could not connect: ' . mysql_error());
}

用户名和密码正确 而且用户名有权限远程IP 不是localhost 而是%
本地用phpmyadmin 正常
防火墙关闭了
服务器是 Windows 2003 系统
求解啊

------解决方案--------------------
http://www.google.com.hk/search?gcx=w&sourceid=chrome&ie=UTF-8&q=mysql+10060++%E9%94%99%E8%AF%AF
去看看吧,我没遇到过...
------解决方案--------------------
好,恭喜楼主了,来骗分的。

人气教程排行