1. 检查端口是否被占用:Win+r --> 输入cmd --> netstat -ano | findstr 3306 --> taskkill /f /t /pid "进程PID" 2. 检查mysql服务是否开启