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

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

On Debian possible default full paths are:

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

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