Check out example codes for "mysql: command not found". It will help you in understanding the concepts better.

Code Example 1

export PATH=$PATH:/usr/local/mysql/bin/

Code Example 2

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

Learn ReactJs, React Native from