Created
November 29, 2022 16:14
-
-
Save coderxin/f3a25ef29a1e5a6676a69f12d76d8a45 to your computer and use it in GitHub Desktop.
How to reinstall broken MySQL (with brew)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
brew services stop [email protected] | |
brew remove [email protected] | |
brew cleanup | |
rm -rf /opt/homebrew/Cellar/[email protected] | |
rm -rf /opt/homebrew/var/mysql | |
rm /opt/homebrew/etc/my.cnf.default | |
rm /opt/homebrew/etc/my.cnf | |
brew install [email protected] | |
brew services restart [email protected] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment