
$ launchctl load ~/Library/LaunchAgents/. If you would like to use a data directory in a.

To manage your databases, I recommend using Sequel Pro, a MySQL management tool designed for macOS.Ĭurrent version available: 1.1.2 Commentsġ The brew services start - instruction is equal to : $ ln -sfv /usr/local/opt/mysql/*.plist ~/Library/LaunchAgents On Windows, the MySQL installer places the data directory directly under the directory where you install MySQL. Important : Use the single ‘quotes’ to surround the password and make sure to select a strong password! Database Management Mysqladmin -u root password 'yourpassword'

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

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).
