![]() ![]() Open Terminal and execute the following command to set the root password: Verify the installed MySQL instance : $ mysql -V.Įxpected output : Ver 14.14 Distrib 5.7.22, for osx10.13 (x86_64) Load and start the MySQL service : $ brew services start output : Successfully started mysql (label: )Ĭheck of the MySQL service has been loaded : $ brew services list 1įorce link 5.7 version - $ brew link -force Install brew services first : $ brew tap homebrew/services ![]() To install MySQL enter : $ brew install Additional configuration Homebrew Enter the following command : $ brew info Expected output: stable 5.7.22 (bottled).Note: Homebrew will download and install Command Line Tools for Xcode 8.0 as part of the installation process.Īt this time of writing, Homebrew has MySQL version 8 as default, but as we're aiming to get 5.7, we'll need to append to the default package key:.Installing Homebrew is effortless, open Terminal and enter :.This procedure explains how to install MySQL using Homebrew on macOS (Sierra 10.12 and up) Install Homebrew This is a fork of original gist, with slight changes on pointing to 5.7 version branch, instead of 8 (latest default of MySQL in Hombrew).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |