Installing MySQL on macOS Using Native Packages disk space. Additionally, you should also remove older versions of the Package Receipt directories located in  /Library/Receipts/mysql- VERSION .pkg . The package is located inside a disk image ( .dmg ) file that you first need to mount by double-clicking its icon in the Finder. It should then mount the image and display its contents. Before proceeding with the installation, be sure to stop all running MySQL server instances by using either the MySQL Manager Application (on macOS Server), the preference pane, or  mysqladmin shutdown  on the command line. To install MySQL using the package installer: Double-click the MySQL installer package from the disk. It is named according to the version of MySQL you have downloaded. For example, for MySQL server 8.0.25 it might be named  mysql-8.0.25- macos- 10.13-x86_64 .pkg . The MySQL community edition shows a copy of the relevant GNU General Public License. Click Continue  and then  Agree  to continue. 158 2.4.2 Installing MySQL on macOS Using Native Packages Note Note Although the  Change Install Location  option is visible, the installation location cannot be changed. 1. Download the disk image ( .dmg ) file (the community version is available here) that contains the MySQL package installer. Double-click the file to mount the disk image and see its contents. 2. The initial wizard introduction screen references the MySQL server version to install. Click  Continue  to begin the installation. 3. From the  Installation Type  page you can either click  Install  to execute the installation wizard using all defaults, click  Customize  to alter which components to install (MySQL server, MySQL Test, Preference Pane, Launchd Support -- all but MySQL Test are enabled by default).