Install MySQL Community Server on macOS

In this tutorial, I will show you how to install MySQL Community Server on macOS.

First, you need to go to https://dev.mysql.com/downloads/mysql/ to download the MySQL installation file for macOS:

Install MySQL Community Server on macOS

There are many different options, but you should choose the .dmg file to install because it has an UI, it will be easier.

After the download is complete, click on the download file to start installing MySQL.

Install MySQL Community Server on macOS

Click on the icon in the window above to continue.

Install MySQL Community Server on macOS

Click Continue.

Install MySQL Community Server on macOS

Continue.

Install MySQL Community Server on macOS

Continue.

Install MySQL Community Server on macOS

Agree.

Install MySQL Community Server on macOS

At this point, you can press the Install button to begin installing MySQL on your computer.

Install MySQL Community Server on macOS

Enter the password to install new software in macOS.

Install MySQL Community Server on macOS

During the installation process, you need to configure the password of the root user who logs in to MySQL. Please choose how you set up the password in the picture above. We should choose “Use Strong Password Encryption” and click Next.

Install MySQL Community Server on macOS

With this option, you are required to set a password with at least 8 characters, including letters, numbers, and some special characters.

After you have set the password, click Finish!

Install MySQL Community Server on macOS

The macOS user password is required to complete the password setting for this root user.

Install MySQL Community Server on macOS

Click the Close button to finish!

You can go to System Preferences

Install MySQL Community Server on macOS

to manage starting and stopping MySQL!

Install MySQL Community Server on macOS

Add Comment