mysql

Install command:
brew install mysql

Also known as: mysql@9.0

Open source relational database management system

https://dev.mysql.com/doc/refman/9.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 sequoia
sonoma
ventura
Intel sonoma
ventura
64-bit linux

Current versions:

stable 9.0.1

Other versions:

mysql@8.4 8.4.3 Open source relational database management system
mysql@8.0 8.0.40 Open source relational database management system
mysql@5.7 5.7.44 Open source relational database management system

Revision: 8

Depends on:

abseil 20240722.0 C++ Common Libraries
icu4c@76 76.1 C/C++ and Java libraries for Unicode and globalization
lz4 1.10.0 Extremely Fast Compression algorithm
openssl@3 3.4.0 Cryptography and SSL/TLS Toolkit
protobuf 29.1 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.31.2 Cross-platform make
pkgconf 2.3.0 Package compiler and linker metadata toolkit

Conflicts with: mariadb, percona-server

Upgrading from MySQL <8.4 to MySQL >9.0 requires running MySQL 8.4 first:
- brew services stop mysql
- brew install mysql@8.4
- brew services start mysql@8.4
- brew services stop mysql@8.4
- brew services start mysql

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 57,382
mysql --HEAD 112
Installs on Request (30 days)
mysql 57,312
mysql --HEAD 112
Build Errors (30 days)
mysql 567
Installs (90 days)
mysql 177,191
mysql --HEAD 388
Installs on Request (90 days)
mysql 177,005
mysql --HEAD 388
Installs (365 days)
mysql 564,861
mysql --HEAD 1,139
Installs on Request (365 days)
mysql 563,827
mysql --HEAD 1,139
Fork me on GitHub