Installing MySQL on MacOS
Here’s how to find and download MySQL for macOS.
Installation
- Go to the MySQL website and download the disk image (.dmg).
- Double-click the file to mount the disk image and see its contents.
- Double-click the MySQL installer package from the disk. It is named according to the version of MySQL you have downloaded.
- The initial wizard introduction screen references the MySQL server version to install. Click
Continue
to begin the installation. - From the
Installation Type
page you can either click Install to execute the installation wizard using all defaults, clickCustomize
to alter which components to install (MySQL server, Preference Pane, Launchd Support – all enabled by default). - Click
Install
to begin the installation process. - Enter your password and click
Install Software
. - Wait while the files copy to your Mac.
Summary
is the final step and references a successful and complete MySQL Server installation.
MySQL server is now installed, but it is not loaded (or started) by default. Use either launchctl from the command line, or start MySQL by clicking Start
using the MySQL preference pane.
Launch MySQL server
- Go to
System Preferences
on your Mac. - Click MySQL to launch it.
- Click the
Start MySQL Server
button to start and stop the server. - Click the
Configuration
tab to set advanced options. - Click
Apply
.