安装完成MySQL一段时间后连接出现Can't connect to MySQL server on‘localhost' (10061)问题。 解决方法:在服务中将MYSQL57属性改手动,启动后,连接数据库成功。