as titled, my question is in my m1 Mac terminal, after successfully installing MySQL from the official page, I enter the mysql command, but it returns command not found.
I googled alot, and this is one of the solution i found:mysql command is not found in macOS
Per the instruction of the page, I found my path to my mysql already, it's /usr/local/mysql-8.0.27-macos11-arm64/bin
,
I am now in my zshrc too, but i don't know how to put export PATH=$PATH:/usr/local/<my-path>/bin
in to zshrc.
While there are so many lines of different settings in it, how do i specify this path is for mysql? and where to put?
Thank you guys