bash: mysql: команда не найдена
export PATH=$PATH:/usr/local/mysql/bin/
Foolish Falcon
export PATH=$PATH:/usr/local/mysql/bin/
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
#Check if MySQL is running by executing this command:
ps aux | grep mysql | grep -v grep
#And install the MySQL client:
sudo apt-get install mysql-client # Or your distribution command