可运行程序或批处理

可运行程序或批处理

本文介绍了无法将mysql识别为内部或外部命令,可运行程序或批处理的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经设置了MySQL路径,但是仍然遇到相同的错误.请让我知道我是否遵循正确的方法.

I had set the MySQL path, but still getting the same error. Please let me know whether I followed the correct one or not.

MySQL的位置是:C:\Program Files\MySQL\MySQL Server 5.0\bin

MySQL location is: C:\Program Files\MySQL\MySQL Server 5.0\bin

在Windows中,我将系统变量设置为:

In Windows, system variables I had set the path as:

  • 变量名称:MYSQL_HOME
  • 变量值:C:\Program Files\MySQL\MySQL Server 5.0\bin
  • variable name: MYSQL_HOME
  • variable value: C:\Program Files\MySQL\MySQL Server 5.0\bin

对于PATH设置:

  • 变量名称:PATH
  • 变量值:.;%JAVA_HOME%\bin;%MYSQL_HOME%\bin...
  • variable name: PATH
  • variable value: .;%JAVA_HOME%\bin;%MYSQL_HOME%\bin...

如果它不是正确的路径,请告诉我正确的路径及其设置.

If it is not the correct one, please let me know the correct path and its settings.

推荐答案

看到问题了吗?解析为C:\Program Files\MySQL\MySQL Server 5.0\bin\bin

See the problem? This resolves to a path of C:\Program Files\MySQL\MySQL Server 5.0\bin\bin

这篇关于无法将mysql识别为内部或外部命令,可运行程序或批处理的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-31 17:32