管理员身份运行cmd ,输入命令tasklist| findstr "mysql" 命令,查找相关mysql占用进程 然后使用taskkill /f /t /im "mysqld.exe" 关闭占用进程 最后重新启动mysql服务