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?