-
-
Save AnilPothula/600950c56e210de1aa6d4c92ffba6546 to your computer and use it in GitHub Desktop.
Revisions
-
vitorbritto revised this gist
Jan 24, 2015 . 1 changed file with 15 additions and 3 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -7,7 +7,8 @@ 5. Analyze MySQL on HomeBrew: ``` brew remove mysql brew cleanup ``` 6. Remove files: @@ -21,8 +22,19 @@ sudo rm -rf /Library/PreferencePanes/My* ``` 7. Unload previous MySQL Auto-Login: ``` launchctl unload -w ~/Library/LaunchAgents/homebrew.mxcl.mysql.plist ``` 8. Remove previous MySQL Configuration: ``` subl /etc/hostconfig` # Remove the line MYSQLCOM=-YES- ``` 9. Remove previous MySQL Preferences: ``` -
vitorbritto revised this gist
Jan 24, 2015 . 1 changed file with 26 additions and 3 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -4,10 +4,33 @@ 2. Use `mysqldump` to backup your databases 3. Check for MySQL processes with: `ps -ax | grep mysql` 4. Stop and kill any MySQL processes 5. Analyze MySQL on HomeBrew: ``` brew remove mysql && brew cleanup ``` 6. Remove files: ``` sudo rm /usr/local/mysql sudo rm -rf /usr/local/var/mysql sudo rm -rf /usr/local/mysql* sudo rm ~/Library/LaunchAgents/homebrew.mxcl.mysql.plist sudo rm -rf /Library/StartupItems/MySQLCOM sudo rm -rf /Library/PreferencePanes/My* ``` 7. Unload previous MySQL Auto-Login: `launchctl unload -w ~/Library/LaunchAgents/homebrew.mxcl.mysql.plist` 8. Remove previous MySQL Configuration: `subl /etc/hostconfig` _remove the line MYSQLCOM=-YES-_ 9. Remove previous MySQL Preferences: ``` rm -rf ~/Library/PreferencePanes/My* sudo rm -rf /Library/Receipts/mysql* sudo rm -rf /Library/Receipts/MySQL* sudo rm -rf /private/var/db/receipts/*mysql* ``` 10. Restart your computer just to ensure any MySQL processes are killed 11. Try to run mysql, **it shouldn't work** -
vitorbritto revised this gist
Jan 24, 2015 . 1 changed file with 11 additions and 9 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,11 +1,13 @@ # Remove MySQL completely 1. Open the Terminal 2. Use `mysqldump` to backup your databases 3. Check for MySQL processes with: `ps -ax | grep mysql` 4. Stop and kill any MySQL processes 5. Analyze MySQL on HomeBrew: `brew remove mysql && brew cleanup` 6. Remove files: `sudo rm /usr/local/mysql; sudo rm -rf /usr/local/var/mysql; sudo rm -rf /usr/local/mysql*; sudo rm ~/Library/LaunchAgents/homebrew.mxcl.mysql.plist; sudo rm -rf /Library/StartupItems/MySQLCOM; sudo rm -rf /Library/PreferencePanes/My*` 7. Unload previous MySQL Auto-Login: `launchctl unload -w ~/Library/LaunchAgents/homebrew.mxcl.mysql.plist` 8. Remove previous MySQL Configuration: `subl /etc/hostconfig` _remove the line MYSQLCOM=-YES-_ 9. Remove previous MySQL Preferences : `rm -rf ~/Library/PreferencePanes/My*; sudo rm -rf /Library/Receipts/mysql*; sudo rm -rf /Library/Receipts/MySQL*; sudo rm -rf /private/var/db/receipts/*mysql*` 10. Restart your computer just to ensure any MySQL processes are killed 11. Try to run mysql, **it shouldn't work** -
vitorbritto created this gist
Jan 24, 2015 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,11 @@ # Remove MySQL completely 1. Check for MySQl processes with: `ps -ax | grep mysql` 2. Stop and kill any MySQL processes 3. Analyze MySQL on HomeBrew: `brew remove mysql && brew cleanup` 4. Remove files: `sudo rm /usr/local/mysql; sudo rm -rf /usr/local/var/mysql; sudo rm -rf /usr/local/mysql*; sudo rm ~/Library/LaunchAgents/homebrew.mxcl.mysql.plist; sudo rm -rf /Library/StartupItems/MySQLCOM; sudo rm -rf /Library/PreferencePanes/My*` 5. Unload previous MySQL Auto-Login: `launchctl unload -w ~/Library/LaunchAgents/homebrew.mxcl.mysql.plist` 6. Remove previous MySQL Configuration: `subl /etc/hostconfig` _remove the line MYSQLCOM=-YES-_ 7. Remove previous MySQL Preferences : `rm -rf ~/Library/PreferencePanes/My*; sudo rm -rf /Library/Receipts/mysql*; sudo rm -rf /Library/Receipts/MySQL*; sudo rm -rf /private/var/db/receipts/*mysql*` 8. Restart your computer just to ensure any MySQL processes are killed 9. Try to run mysql, **it shouldn't work**