

The installer will give you a list of things it’s going to do, just press enter and Homebrew will be installed. Next, we’re going to install Homebrew (this command is all one line): /usr/bin/ruby -e "$(curl -fsSL )" You will have to press space a bunch of times to scroll to the bottom of the agreement and then type ‘agree’ if you agree to the terms. Let’s get started – the first thing you need to do is open up a terminal window and make sure you’ve accepted the Xcode license agreement by issuing this command: sudo xcodebuild -license If you have installed or attempted to install it before, you will need to make sure MySQL is completely removed along with all of its files and directories. MySQL should not already be installed on your system.It can be installed from the App Store here. It provides an easy way to install third party software and a way to keep that software up to date.īefore we begin, there are a few prerequisites:


Homebrew is a third party package manager, similar to yum or apt if you’re familiar with Linux package managers. This allows for easy upgrades, and still includes the ability to have MySQL start on boot.

As a result, we now recommend installing and maintaining MySQL using Homebrew. Over the years, it has become difficult to ensure that the script works on all of the versions of macOS still in use, and support from MySQL for macOS is slow. In the past, we maintained a script for automating the installation of MySQL on macOS.
