First of all, set (include) the path of mysqldump.exe
into the PATH
environment variable like this:
set PATH=%PATH%;\Path\to\mysqldump.exe
Second, You need NOT to run mysqldump
command from mysqlconsole
, it should be run from the normal command prompt, once the PATH
is set (as mentioned above).
For example, you may use below URL to create and restore mysql backups:
Backup and Restore MySQL Database Using mysqldump
Third, the path you mentioned above shows the path from a Linux/Unix machine (having forward slashes). In case you're using mysql in linux, I'd suggest you to use the native (Linux) installation (in place of using layered Cygwin etc.)