windows bash: mysql: command not found code example
Example 1: bash: mysql: command not found
export PATH=$PATH:/usr/local/mysql/bin/
Example 2: mysql: command not found
Command not found error shown when the mysql.exe path is not set in environmental variables as PATH
or you do this by set the path from cmd
1. open cmd
2. set mysql path in cmd
>set path=c:\wamp\bin\mysql\mysql5.6.17\bin
Now you can check mysql commands