What to do if mysql' is not recognized as an internal or external command, operable program or batch file.

485    Asked by Anil Mer in SQL Server , Asked on Nov 15, 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 Angela Baker

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