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.15, for osx10.12 (x86_64) Load and start the MySQL service : $ brew services start mysql.Įxpected output : Successfully started mysql (label: )Ĭheck of the MySQL service has been loaded : $ brew services list 1 Install brew services first : $ brew tap homebrew/services To install MySQL enter : $ brew install mysql Additional configuration Homebrew Expected output: mysql: stable 5.7.15 (bottled).Enter the following command : $ brew info mysql.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 5.7.15 as default formulae in its main repository :.Installing Homebrew is effortless, open Terminal and enter :.This procedure explains how to install MySQL using Homebrew on macOS Sierra 10.12 Install Homebrew
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |