How to Install MySQL on macOS

Introduction

MySQL database is widely used by developers around the globe. Installing it on macOS is a breeze, and this guide is here to walk you through every step. Let's get your macOS equipped with MySQL!

Prerequisites

  • A Mac running macOS.
  • Stable internet connection for downloading the installer.

Installation Steps

1. Visit MySQL's Official Website:

Start by heading over to the MySQL download page for macOS.

2. Select the macOS Version:

Scroll to the section for macOS and choose the version suitable for your macOS version.

3. Download the DMG Archive:

Click to download the DMG MySQL installer for macOS.

4. Open the Installer:

Once downloaded, open the .dmg file. This will mount a new drive that contains the MySQL installer package.

5. Follow the Installation Wizard:

Double-click on the .pkg file to start the installation. The wizard will guide you through the steps, including setting up a password for the root user. Complete all steps and you'll have MySQL installed on your Mac.

Reference Links


Comments