mysql_setpermission: 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_setpermission - from package: mysql55w-server
/usr/bin/mysql_setpermission - 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_setpermission - from package: mariadb-server-10.0
/usr/bin/mysql_setpermission - from package: mysql-server-5.5

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