can't connect to mysql server on 'localhost'(10061

当连接mysql时,出现了错误,提示为: #2003-can't connect to mysql server on 'localhost'(10061) 一般来说该提示是因为mysql没有启动,启动mysql服务即可解决。 但是在myql服务已经启动时,依然遇到该问题,此时问题就不一定了。 大多数的情况,是mysql相关配置问题,及my.ini中的某些配置参数出现了状况
can't connect to mysql server on 'localhost'(10061