mysql_zap: 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_zap - from package: mysql55w-server
/usr/bin/mysql_zap - from package: mysql-server

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

On Debian possible default full paths are:

/usr/bin/mysql_zap - from package: mariadb-server-10.0
/usr/bin/mysql_zap - from package: mysql-server-5.5

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