MySQL is not recognised as an internal or external command,operable program or batch

1.2K    Asked by CarlPaige in SQL Server , Asked on Sep 22, 2022

I did set the MySQL path, but still, I'm getting the same error. Please let me know whether I followed it correctly or not.

MySQL location is: C:Program FilesMySQLMySQL Server 5.0bin

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

variable name: MYSQL_HOME

variable value: C:Program FilesMySQLMySQL Server 5.0bin

For PATH setting: variable name: PATH variable value: .;%JAVA_HOME%bin;%MYSQL_HOME%bin... If it is not correct, please let me know the correct path and its settings.

Answered by James Scott

To solve mysql' is not recognized as an internal or external command, operable program or batch file you can simply type in command prompt:

  set path=%PATH%;D:
mppmysqlin;

Here my path is D so I used D: , you can use C: or E:



Your Answer

Interviews

Parent Categories