MySQL Community Server is the free, full-featured version of MySQL, perfect for learning and local development.
-
Under Select Operating System, choose macOS.
-
Download the latest macOS DMG Archive (the default Intel or ARM version depending on your Mac).
- 💡 If you’re on an Apple Silicon Mac (M1/M2/M3), choose the ARM64 DMG.
-
Open the downloaded
.dmgand follow the installer prompts.- Accept defaults unless you have a specific reason to change.
- During installation, you'll be asked to set a root password — note it down safely.
-
When installation finishes, you'll see a message about System Preferences → MySQL — you can manage the server from there (start/stop MySQL manually if needed).
Open Terminal and run:
mysql -u root -pEnter your password when prompted.
If you see a mysql> prompt — 🎉 you’re connected!
MySQL Workbench is a GUI tool to browse tables and run/administer SQL interactively. You can download it here: 👉 https://dev.mysql.com/downloads/workbench/