install mysql on mac brew code example
Example 1: brew reinstall mysql
# To uninstall
brew uninstall [email protected]
rm -rf /usr/local/var/mysql
rm /usr/local/etc/my.cnf
# To Reinstall
brew install [email protected]
brew link --force [email protected]
brew services start [email protected]
Example 2: brew install
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"