Trying to use MySQL for rails app and downloaded it from dev.mysql.com.
After successfully installing the package and seeing the option to start and stop the server from
On the latest MacOs Catalina.I hava tried to do above to sole this problem;
vi ~/.zshrc // open the zsh config and edite
export PATH=${PATH}:/usr/local/mysql/bin/ // to add these words
source ~/.zshrc // make it work
Reopen a teminal and run mysql -u root -p
,input the password then you can login your mysql;