mysql: command not found

Have You tried accessing the binary with the full path?

Maybe Your $PATH variable doesn't contain the default paths? echo $PATH should give something like:

[root@server ~]# echo $PATH
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

If it's empty, You may set the PATH variable with this command

export PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin"

On CentOS possible default full paths are:

/usr/bin/mysql - from package: mysql55w
/usr/bin/mysql - from package: mysql

You may install the required package with command yum install {package}

On Debian possible default full paths are:

/usr/bin/mysql - from package: mariadb-client-core-10.0
/usr/bin/mysql - from package: mysql-client-5.5

You may install the required package with command apt-get install {package}
Error in other languages:
mysql: bevel nie gevind nie
mysql: comandă negăsită
mysql: comando não encontrado
mysql: commande introuvable
mysql: command not found
mysql: käsku ei ole
mysql: không tìm thấy lệnh
mysql: komanda nerasta
mysql: Kommando nicht gefunden.
mysql: kommandot finns inte
mysql: komut yok
mysql: nie znaleziono polecenia
mysql: níor aimsíodh an t-ordú
mysql: no se encontró la orden
mysql: no s'ha trobat l'ordre
mysql: opdracht niet gevonden
mysql: parancs nem található
mysql: perintah tidak ditemukan
mysql: príkaz nenájdený
mysql: příkaz nenalezen
mysql: команда не найдена
mysql: командата не е открита
mysql: 命令找不到
mysql: コマンドが見つかりません