Install command:
brew install mysql

Also known as: mysql@8.3

Open source relational database management system

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

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

Formula code: mysql.rb on GitHub

Bottle (binary package) installation support provided for:

Apple Silicon sonoma
Intel sonoma
64-bit linux

Current versions:

stable 8.3.0

Other versions:

mysql@8.0 8.0.38 Open source relational database management system
mysql@5.7 5.7.44 Open source relational database management system

Revision: 1

Depends on:

icu4c 74.2 C/C++ and Java libraries for Unicode and globalization
libevent 2.1.12 Asynchronous event library
libfido2 1.15.0 Provides library functionality for FIDO U2F & FIDO 2.0, including USB
lz4 1.9.4 Extremely Fast Compression algorithm
openssl@3 3.3.1 Cryptography and SSL/TLS Toolkit
protobuf@21 21.12 Protocol buffers (Google's data interchange format)
zlib 1.3.1 General-purpose lossless data-compression library
zstd 1.5.6 Zstandard is a real-time compression algorithm

Depends on when building from source:

bison 3.8.2 Parser generator
cmake 3.30.1 Cross-platform make
pkg-config 0.29.2 Manage compile and link flags for libraries

Conflicts with: mariadb, percona-server

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

MySQL is configured to only allow connections from localhost by default

To connect run:
     mysql -u root


Installs (30 days)
mysql 31,431
mysql --HEAD 64
Installs on Request (30 days)
mysql 31,399
mysql --HEAD 64
Build Errors (30 days)
mysql 862
Installs (90 days)
mysql 99,318
mysql --HEAD 206
Installs on Request (90 days)
mysql 99,189
mysql --HEAD 206
Installs (365 days)
mysql 492,973
mysql --HEAD 939
Installs on Request (365 days)
mysql 491,359
mysql --HEAD 939
Fork me on GitHub