热搜:NVER 

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

2024-04-26 09:14:01
 异常代码:2003 can't connect to MySQL server on '*'(10061)

错误代码: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';