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:
For mac users, look into /usr/local/
, this is most likely where mysql is installed. There may be two installations. I chose the one without the version number in the name.
You need to add the path of your mysql installation to your bash profile by adding export PATH=$PATH:/usr/local/mysql/bin
to ~/.bash_profile
. Can try running PATH=$PATH:/usr/local/mysql/bin
if adding export to ~/.bash_profile
doesn't work.