Problem
Problem: MySQL: -bash: mysql: command not found
On CentOS, MySQL works fine, but can not use “mysql” command in terminal, and says “-bash: mysql: command not found”.
Solution
# cd /usr/local/bin
# ln -fs /MYSQLPATH/bin/mysql mysql
MYSQLPATH is the path to MySQL installed directory.