forhheart@ForHHeartdeMacBook-Air ~ % mysql -u root -p
zsh: command not found: mysql
forhheart@ForHHeartdeMacBook-Air ~ % echo $PATH
forhheart@ForHHeartdeMacBook-Air ~ % vi .zshrc
add your mysql path into the text file, starting a new line
export PATH=${PATH}:/usr/local/mysql/bin
press ESC
key, then :wq
quit terminal, then open terminal
forhheart@ForHHeartdeMacBook-Air ~ % mysql -u root -p