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 MacOs Catalina Open a terminal and run.
sudo nano /etc/paths
Added to end of file
/usr/local/mysql/bin
Save the changes and quit. Reloaded terminal. Open a new terminal and run.
mysql -u root -p
Its works for me.!!