mysql@8.4

Deprecation date: 2032-04-30

Install command:
brew install mysql@8.4

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.4.json

Formula code: mysql@8.4.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.4.11

Other versions:

mysql@9.7 9.7.2 Open source relational database management system
mysql@8.0 8.0.46 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@78 78.3 C/C++ and Java libraries for Unicode and globalization
lz4 1.10.0 Extremely Fast Compression algorithm
openssl@3 3.6.5 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.4 Cross-platform make
pkgconf 3.0.7 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_test_event_tracking, mysql_tzinfo_to_sql, mysqladmin, mysqlbinlog, mysqlcheck, mysqld, mysqld_multi, mysqld_safe, mysqldump, mysqldumpslow, mysqlimport, mysqlrouter, mysqlrouter_keyring, mysqlrouter_passwd, mysqlrouter_plugin_info, mysqlshow, mysqlslap, mysqltest, mysqltest_safe_process, mysqlxtest, perror

Service:

Start now and at login: brew services start mysql@8.4
Run directly: $HOMEBREW_PREFIX/opt/mysql@8.4/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

Analytics:

30 days90 days365 days
Installs3,55612,91947,005
Installs (--HEAD)42089
Installs on Request3,55412,89746,872
Installs on Request (--HEAD)42089
Build Errors96