mysql

Install command:
brew install mysql

Also known as: mysql@8.1

Open source relational database management system

https://dev.mysql.com/doc/refman/8.0/en/

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
ventura
monterey
big sur
Intel sonoma
ventura
monterey
big sur
64-bit linux

Current versions:

stable 8.1.0

Other versions:

mysql@8.0 8.0.34 Open source relational database management system
mysql@5.7 5.7.43 Open source relational database management system

Depends on:

icu4c 73.2 C/C++ and Java libraries for Unicode and globalization
libevent 2.1.12 Asynchronous event library
libfido2 1.13.0 Provides library functionality for FIDO U2F & FIDO 2.0, including USB
lz4 1.9.4 Extremely Fast Compression algorithm
openssl@3 3.1.3 Cryptography and SSL/TLS Toolkit
protobuf@21 21.12 Protocol buffers (Google's data interchange format)
zlib 1.3 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.27.6 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_secure_installation

MySQL is configured to only allow connections from localhost by default

To connect run:
     mysql -u root

Analytics:

Installs (30 days)
mysql 41,902
Installs on Request (30 days)
mysql 41,710
Build Errors (30 days)
mysql 659
Installs (90 days)
mysql 124,669
Installs on Request (90 days)
mysql 124,143
Installs (365 days)
mysql 280,481
Installs on Request (365 days)
mysql 279,345
Fork me on GitHub