mysql@8.0 (deprecated)
brew install mysql@8.0Open 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 |
golden gate | ✅ |
|---|---|---|
| tahoe | ✅ | |
| sequoia | ✅ | |
| Linux | ARM64 | ✅ |
| x86_64 | ✅ |
Current versions:
| stable | ✅ | 8.0.46 |
Other versions:
| mysql@9.7 | 9.7.4 | Open source relational database management system |
| mysql@8.4 | 8.4.13 | Open source relational database management system |
Revision: 6
Keg-only because this is an alternate version of another formula.
Depends on:
| abseil | 20260817.0 | C++ Common Libraries |
| icu4c@79 | 79.1 | C/C++ and Java libraries for Unicode and globalization |
| libevent | 2.1.13 | Asynchronous event library |
| libfido2 | 1.17.0 | Provides library functionality for FIDO U2F & FIDO 2.0, including USB |
| lz4 | 1.11.0 | Extremely Fast Compression algorithm |
| openssl@3 | 3.5.9 | Cryptography and SSL/TLS Toolkit |
| protobuf | 36.2 | 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.4.5 | Cross-platform make |
| pkgconf | 3.0.10 | Package compiler and linker metadata toolkit |
Uses from macOS: curl, cyrus-sasl, libedit
Binaries:
comp_err,
ibd2sdi,
innochecksum,
my_print_defaults,
myisam_ftdump,
myisamchk,
myisamlog,
myisampack,
mysql,
mysql.server,
mysql_client_test,
mysql_config,
mysql_config_editor,
mysql_keyring_encryption_test,
mysql_migrate_keyring,
mysql_secure_installation,
mysql_ssl_rsa_setup,
mysql_tzinfo_to_sql,
mysql_upgrade,
mysqladmin,
mysqlbinlog,
mysqlcheck,
mysqld,
mysqld_multi,
mysqld_safe,
mysqldump,
mysqldumpslow,
mysqlimport,
mysqlpump,
mysqlrouter,
mysqlrouter_keyring,
mysqlrouter_passwd,
mysqlrouter_plugin_info,
mysqlshow,
mysqlslap,
mysqltest,
mysqltest_safe_process,
mysqlxtest,
perror,
zlib_decompress
Service:
| Start now and at login: | brew services start mysql@8.0 |
| Run directly: | $HOMEBREW_PREFIX/opt/mysql@8.0/bin/mysqld_safe --datadir=$HOMEBREW_PREFIX/var/mysql |
| 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 |
GitHub Packages downloads:
| Last 30 days | 17,967 |
|---|---|
| Downloads | 650,018 |
| Analytics install events (30 days) | 4,066 |
| Downloads / install events (30 days) | 4.4× |
Source: GitHub Packages, fetched 2026-11-08T00:54:13Z. Analytics dates: 2026-10-09 to 2026-11-08. Totals exclude downloads from Bintray before the migration to GitHub Packages. Downloads and install attempts measure different things; the difference does not count analytics opt-outs. Definitions and limitations.
Analytics:
| 30 days | 90 days | 365 days | |
|---|---|---|---|
| Installs | 4,060 | 13,693 | 71,583 |
Installs (--HEAD) | 6 | 14 | 81 |
| Installs on Request | 4,056 | 13,683 | 71,471 |
Installs on Request (--HEAD) | 6 | 14 | 81 |
| Build Errors | 139 |