I want to export my database and i am using this code:
mysqldump -p -u markazo_b markazo_b > /tmp/file.sql
But SSH show this error:
The solution I found is adding MySql's installation directory to PATH
Steps:
(In the terminal),
locate mysqldump
export PATH=$PATH:MY_SQL_INSTALLATION_DIRECTORY/bin
MY_SQL_INSTALLATION_DIRECTORY is the directory you found by locate mysqldump:
Example
export PATH=$PATH:/usr/local/mysql-5.6.23-osx10.8-x86_64/bin