While you can download MySQL as a DMG package, a number of users
would prefer to install it as a Docker instance. You won’t find
the macOS downloads on the same web site as other downloads. You
can use the following macOS
download site.
After installing Docker on your macOS, you can pull a copy of the
current MySQL Server with the following command:
docker pull mysql/mysql-server
You should create a mysql
directory inside your
~/Documents
directory with this command:
mkdir ~/Documents/mysql
Then, you should use the cd
command to change into
the ~/Documents/mysql
directory and run this
command:
pwd
It should return the following directory: …
[Read more]