Home > Backend Development > PHP Tutorial > 异常代码:2003 can't connect to MySQL server on '*'(10061)

异常代码:2003 can't connect to MySQL server on '*'(10061)

WBOY
Release: 2016-06-13 13:09:57
Original
930 people have browsed it

错误代码:2003 can't connect to MySQL server on '*.*.*.*'(10061)
本地连接mysql数据库,没有任何问题,远程连接就会报错

错误代码:2003 can't connect to MySQL server on '*.*.*.*'(10061)

怎么回事?


服务器用的是win2003 server版,防火墙已经添加3306端口例外,还会有什么原因呢?

------解决方案--------------------
搜索"mysql 添加用户“
grant all on *.* to test@10.163.225.87 identified by '123';

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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template