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

远程连接mysql 10060异常

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-13 13:17:15
Original
924 people have browsed it

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

Related labels:
source:php.cn
Statement of this Website
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
Latest Issues
MySQL stops process
From 1970-01-01 08:00:00
0
0
0
Error when installing mysql on linux
From 1970-01-01 08:00:00
0
0
0
phpstudy cannot start mysql?
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template