That message means that
Linux
shell (
bash
in your case) cannot find the
mysql
executable file (i.e.
mysql
command folder isn't in the
PATH
environment variable). You should add its folder (the one where
./mysql
works) to the
PATH
variable (see
here[
^] for details).