David
David

Reputation: 3318

macOS: zsh: command not found: mysqldump

I hope, it's the right forum for this question. But since there exist a mysqldump tag I think so.

I'm using a Mac with macOS Catalina 10.15.7 (19H524).

Since I reinstalled Homebrew and therefore also deleted some folders, mysqldump isn't working any more. I always get the following error message:

zsh: command not found: mysqldump

Is it possible that I removed mysqldump by mistake? How can I make it working?

Upvotes: 0

Views: 6130

Answers (1)

David
David

Reputation: 3318

I finally found the solution:

First I detected the path of mysqldump with the following command:

locate mysqldump

This gave me: /Applications/MAMP/Library/bin/mysqldump

Now, I can simply call /Applications/MAMP/Library/bin/mysqldump instead of just mysqldump in Terminal.

Upvotes: 1

Related Questions