1

I downloaded and installed mysql via their package installer. It installed successfully and I can verify that the server is running. mysql server status When I enter mysql --version I get the zsh: command not found: mysql error.
terminal and .zshrc I added the path /usr/local/mysql/bin(I verified the location) in .zshrc and restarted the terminal, it doesn't show on the echo and the terminal still says "command not found"

I've also added it on a separate line via - echo 'export PATH="/usr/local/mysql/bin:$PATH"' >> ~/.zshrc , and still get the error.

What am I doing wrong?

Dave Toth
  • 11
  • 3
  • Are you sure **that** modified .zshrc has been consumed by your current shell? Open a child shell by doing a `zsh -x` and verify the setting of your PATH. – user1934428 Oct 04 '21 at 10:16

0 Answers0