Created
June 5, 2020 21:26
-
-
Save Brandon-Lyons/b7ba9988f8ca9692b6d53cdcc38c52f0 to your computer and use it in GitHub Desktop.
List of commands to fix possible mysql issues
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 mysql | |
| brew unlink mysql | |
| brew uninstall mysql | |
| rm -rf /usr/local/var/mysql | |
| brew list | |
| sudo rm /usr/local/mysql | |
| sudo rm -rf /usr/local/mysql* | |
| sudo rm -rf /Library/StartupItems/MYSQLCOM | |
| sudo rm -rf /Library/PreferencePanes/My* | |
| rm -rf ~/Library/PreferencePanes/My* | |
| sudo rm -rf /Library/Receipts/mysql* | |
| sudo rm -rf /Library/Receipts/MySQL* | |
| sudo rm -rf /usr/local/var/mysql* | |
| brew update | |
| brew doctor | |
| brew search mysql | |
| brew install mysql@5.7 | |
| brew link mysql@5.7 --force | |
| ls /usr/local/Cellar | |
| brew services start mysql@5.7 | |
| gem uninstall mysql2 && gem install mysql2 | |
| bundle install | |
| bin/spring stop |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment