mysql

Install command:
brew install mysql

Also known as: mysql@8.0

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

/api/formula/mysql.json (JSON API)

/api/bottle/mysql.json (Bottle JSON API)

Formula code on GitHub

Bottle (binary package) installation support provided for macOS releases:

Intel big sur
catalina
mojave
64-bit linux
Apple Silicon big sur

Current versions:

stable 8.0.26

Other versions:

mysql@5.7 5.7.35 Open source relational database management system
mysql@5.6 5.6.51 Open source relational database management system

Depends on:

icu4c 69.1 C/C++ and Java libraries for Unicode and globalization
libevent 2.1.12 Asynchronous event library
lz4 1.9.3 Extremely Fast Compression algorithm
openssl@1.1 1.1.1k Cryptography and SSL/TLS Toolkit
protobuf 3.17.3 Protocol buffers (Google's data interchange format)
zstd 1.5.0 Zstandard is a real-time compression algorithm

Depends on when building from source:

cmake 3.21.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_secure_installation

MySQL is configured to only allow connections from localhost by default

To connect run:
     mysql -uroot

Analytics:

Installs (30 days)
mysql 68,925
Installs on Request (30 days)
mysql 68,526
Build Errors (30 days)
mysql 335
Installs (90 days)
mysql 221,782
Installs on Request (90 days)
mysql 220,374
Installs (365 days)
mysql 913,499
Installs on Request (365 days)
mysql 900,730
Fork me on GitHub