bash: mysql: command not found code example
Example 1: bash: gedit: command not found
First, try this:
sudo apt-get install gedit
or You can try this
sudo apt-get purge gedit gedit-common
sudo apt-get clean
After this try reinstalling with
sudo apt-get install gedit
Example 2: bash: mysql: command not found
export PATH=$PATH:/usr/local/mysql/bin/
Example 3: 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