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

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

Example Script:
Echo off
Echo ***Please Wait DataBase Transfering***
(cd E:\Source\MYSQL\Working\MySqlAccounts 30042018\Accounts\bin\Debug && ^
mysql -h 192.168.1.12 -u root -p1234 --port=3306 -e "CREATE DATABASE IF NOT EXISTS `Admin`" && ^
mysqldump --routines=true -h 192.168.1.225 -u root -p1234 --port=3306  Admin | mysql -h 192.168.1.12 -u root -p1234 --port=3306 Admin)> transferlog150331.txt  2>&1
Echo ***
Timeout 10
When i Execute above Script i got the error like 

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

Solution.

The system couldn't locate the mysql.exe in your system.

*** Install Mysql Engine on your WorkStation. ***

Problem Resolved.

Post a Comment

0 Comments