Getting-Started with MySQL 5.7+ on macOS by Homebrew
The Unix Tutorial shows you Step-by-Step How to Install and Getting-Started with MySQL 5.7+ on macOS 10.9 Mavericks by Homebrew.
MySQL 5.7 builds on the momentum of 5.5, and Oracle’s investment and commitment to MySQL, by delivering better performance and scalability.

Open a Command Line Terminal Window
Applications > Utilities > Terminal
(Press “Enter” to Execute Commands)In case first see: Terminal QuickStart Guide.
How to Install HomeBrew for macOS 10.9 Mavericks.
Installing MySQL 5.7 by Homebrew.
sudo brew install mysql
Look into Final Output for Post-Install Configuration Actions…