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.36 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.14.0 Provides library functionality for FIDO U2F & FIDO 2.0, including USB
lz4 1.9.4 Extremely Fast Compression algorithm
openssl@3 3.2.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.5 Zstandard is a real-time compression algorithm

Depends on when building from source:

bison 3.8.2 Parser generator
cmake 3.28.3 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 51,362
mysql --HEAD 78
Installs on Request (30 days)
mysql 51,194
mysql --HEAD 78
Build Errors (30 days)
mysql 1,278
Installs (90 days)
mysql 137,245
mysql --HEAD 236
Installs on Request (90 days)
mysql 136,765
mysql --HEAD 236
Installs (365 days)
mysql 507,430
mysql --HEAD 913
Installs on Request (365 days)
mysql 505,405
mysql --HEAD 913
Fork me on GitHub