解决方案 找到c盘下的MySQL Server 5.7下的bin目录 复制路径:C:\Program Files\MySQL\MySQL Server 5.7\bin 在系统变量中添加上 测试结果如下: