CocoaEngineering
FORMULAv8.0.46Deprecated

mysql@8.0 for macOS

Open source relational database management system

Installation on macOS (Apple Silicon & Intel)

brew install mysql-8.0

Package Metadata

Identifiermysql-8.0
Current Version8.0.46
Tap Repositoryhomebrew/core
LicenseGPL-2.0-only WITH Universal-FOSS-exception-1.0
Upstream Homepagehttps://github.com/mysql/mysql-server
Last Verified2026-11-26T14:43:31Z

Runtime Dependencies (9)

abseil icu4c@79 libevent libfido2 lz4 openssl@3 protobuf zlib-ng-compat zstd

Build Dependencies (3)

bison cmake pkgconf

Engineering Caveats

A "/etc/my.cnf" or "/etc/mysql/my.cnf" from another install may interfere
with a Homebrew-built server starting up correctly.

We've installed your MySQL database without a root password. To secure it run:
    mysql_secure_installation

MySQL is configured to only allow connections from localhost by default

To connect run:
    mysql -u root
Browse macOS Packages A–Z