22 Apr 2017
Oracle’s MySQL is a popular open source relational database management system that is based on Structured Query Language (SQL). Installing MySQL on an Mac is easier than you might expect, particularly if you use the native installation package instead of the TAR package, which requires access and changes to the command line in Terminal mode1.
Double-click the .dmg icon to mount the archive, which contains the installer.
Double-click the .pkg icon for the MySQL package installer.
Click Continue
, Agree
, Install
to execute the installation using all defaults.
Record the temporary password that displays during the installation process (v7xtQSB?kgSj
). This password cannot be recovered. You must save it. After you log in to MySQL, you’ll be prompted to create a new password.
Press Close
to complete the installation.
Now the MySQL server is installed on the Mac, but it does not load by default. Start MySQL by clicking Start MySQL Server
using the MySQL Preference Pane, which was installed during the default installation, from System Preferences. You can configure MySQL to automatically start when you turn on your computer using the MySQL Preference Pane.