How to add MySQL to $PATH variable to resolve "mysql: command not found"?
Here is why your current code is not working:
export PATH=${PATH}/usr/local/mysql/bin/

You forgot the colon and the trailing &quot;/&quot; is unnecessary.
export PATH=${PATH}:/usr/local/mysql/bin

is the correct code.