当前位置: 代码迷 >> PHP >> 异常代码:2003 can't connect to MySQL server on '*'(10061)
  详细解决方案

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

热度:56   发布时间:2016-04-28 23:32:54.0
错误代码: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 [email protected] identified by '123';

  相关解决方案