Home  >  Article  >  Backend Development  >  远程连接mysql 10060异常

远程连接mysql 10060异常

WBOY
WBOYOriginal
2016-06-13 13:17:15878browse

远程连接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
去看看吧,我没遇到过...
------解决方案--------------------
好,恭喜楼主了,来骗分的。

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn