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 location is: C:\Program Files\MySQL\MySQL Server 5.0\bin
In Windows, system variables I had set the path as:
MYSQL_HOME
C:\Program Files\MySQL\MySQL Server 5.0\bin
For PATH setting:
PATH
.;%JAVA_HOME%\bin;%MYSQL_HOME%\bin...
If it is not the correct one, please let me know the correct path and its settings.
The mysql.exe resides in the MySQL\MySQL Server 5.7\bin directory. But the path to MySQL directory depends upon the architecture of the application. If you have installed x64 version then it should be in C:\Program Files\ . Otherwise, it should be in C:\Program Files (x86) .
Installing MySQL Shell Binaries To install MySQL Shell binaries: Unzip the content of the Zip file to the MySQL products directory, for example C:\Program Files\MySQL\ . To be able to start MySQL Shell from a command prompt add the bin directory C:\Program Files\MySQL\mysql-shell-1.0.
Simply type in command prompt :
set path=%PATH%;D:\xampp\mysql\bin;
Here my path started from D so I used D: , you can use C: or E:
MYSQL_HOME variable value=> C:\Program Files\MySQL\MySQL Server 5.0\bin
%MYSQL_HOME%\bin
See the problem? This resolves to a path of C:\Program Files\MySQL\MySQL Server 5.0\bin\bin
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With