Launchctl unload -w ~/Library/LaunchAgents/. Then run the following commands in sequence: ps -ax | grep mysql If the installation was done through Homebrew, you will need the following sequence of commands.įirst, stop all Mysql processes for example brew services stop mysql or restart the computer if Mysql is not in autorun. Can I install Mysql on a new one, or can it? and is it time to move on from what is more sane? =) Uninstalling Mysql via Homebrew And if such a line could not be found in this file, then it's okay, this config is simply not written in newer versions of OSX. sudo vim /etc/hostconfig (remove line MYSQLCOM=-YES-) If you have a rather old version of OSX, you may need to delete the line MYSQLCOM = -YES- in the hostconfig file. brew install kubernetes-cli Test to ensure the version you installed is. Sudo rm -rf /Library/StartupItems/MySQLCOM Install with Homebrew on macOS Run the installation command: brew install kubectl. If any of your brew package had brew services that are running, you should turn them off. We use cookies to provide you with a better. If you happen to have /.rvm, then you should delete /.rvm/bin/brew. This command works to uninstall Oh My Zsh on Mac and Linux, it is not specific to any platform. Alternatively, you can uninstall the required MySQL server instance on your Mac from System Preferences > MySQL. Note: You may also need to remove /.homebrew as well. See the Homebrew installation wiki for more information. So, here are the lines you need to execute: sudo rm /usr/local/mysql This should also revert your /usr/local folder to its pre-Homebrew days. If you are not afraid to execute a few lines of code in your Mac terminal, then everything is not so scary. After it's finished, you can start your MySQL server with the following command: brew services start mysql. For this, go to the Apple menu and select System Preferences. And so, in order to install MySQL, you need to run the following command: brew install mysql. Today I found a rarely installed Mysql in my old MacBook, which I didn't used for years. Uninstallation steps for MySQL: Open System Preferences.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |