bash finds commands via the path contained in the $PATH environment variable. /usr/bin/bash: mysqldump: command not found means that bash did not find the mysqldump command in $PATH.
There are two situations here:
The directory where mysqldump is located is not added to $PATH, which can be confirmed through echo $PATH.
mysqldump is not installed
Usually the second case is more likely to occur, so the questioner can search for how to install mysqldump in the system he is using, and just install it.
bash finds commands via the path contained in the $PATH environment variable.
/usr/bin/bash: mysqldump: command not found
means that bash did not find the mysqldump command in $PATH.There are two situations here:
The directory where mysqldump is located is not added to $PATH, which can be confirmed through
echo $PATH
.mysqldump is not installed
Usually the second case is more likely to occur, so the questioner can search for how to install mysqldump in the system he is using, and just install it.