正常跑一个springboot的项目的时候突然报错 java.net.ConnectException: Connection refused: connect 一开始以是自己配置文件有问题,排错后使用navicat也无法连接 打开cmd想重装服务也无果 最后直接在cmd输入mysql,显示缺失vcruntime140_1.dll文件 重装redist后问题解决 重装redist_x64