mysql@8.0

Deprecation date: 2026-04-30

Install command:
brew install mysql@8.0

Open source relational database management system

https://github.com/mysql/mysql-server

License: GPL-2.0-only WITH Universal-FOSS-exception-1.0

Development: Pull requests

Formula JSON API: /api/formula/mysql@8.0.json

Formula code: mysql@8.0.rb on GitHub

Bottle (binary package) installation support provided for:

macOS on
Apple Silicon
tahoe
sequoia
sonoma
macOS on
Intel
sonoma
Linux ARM64
x86_64

Current versions:

stable 8.0.45

Other versions:

mysql@8.4 8.4.8 Open source relational database management system

Revision: 1

Keg-only

Depends on:

abseil 20260107.1 C++ Common Libraries
icu4c@78 78.2 C/C++ and Java libraries for Unicode and globalization
libevent 2.1.12 Asynchronous event library
libfido2 1.16.0 Provides library functionality for FIDO U2F & FIDO 2.0, including USB
lz4 1.10.0 Extremely Fast Compression algorithm
openssl@3 3.6.1 Cryptography and SSL/TLS Toolkit
protobuf 34.0 Protocol buffers (Google's data interchange format)
zlib-ng-compat 2.3.3 Zlib replacement with optimizations for next generation systems
zstd 1.5.7 Zstandard is a real-time compression algorithm

Depends on when building from source:

bison 3.8.2 Parser generator
cmake 4.2.3 Cross-platform make
pkgconf 2.5.1 Package compiler and linker metadata toolkit
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

Analytics:

Installs (30 days)
mysql@8.0 5,905
mysql@8.0 --HEAD 6
Installs on Request (30 days)
mysql@8.0 5,886
mysql@8.0 --HEAD 6
Build Errors (30 days)
mysql@8.0 556
Installs (90 days)
mysql@8.0 19,355
mysql@8.0 --HEAD 24
Installs on Request (90 days)
mysql@8.0 19,291
mysql@8.0 --HEAD 24
Installs (365 days)
mysql@8.0 107,714
mysql@8.0 --HEAD 149
Installs on Request (365 days)
mysql@8.0 107,475
mysql@8.0 --HEAD 149