Formula

mysql

26.7.0

Open source relational database management system

Install

brew install mysql

Details

Sources

Supported platforms

ArchitecturePlatformsVersionDownload
Apple SiliconGolden Gate26.7.0File
SHA-2561e00b03ad84817ebf0ecaa2714cc5de9df640150a10178e8ccd64ef999eb1086
Apple SiliconTahoe26.7.0File
SHA-256e26294c8531b96db90671aa6de1b56fcb3dc3dfd0d552ac1f819d1d7e8ccaab7
Apple SiliconSequoia26.7.0File
SHA-2564b06b5b2a10c156a7a07a41fb661d58a4c6e1736f881f07b1c7af6ed13803363
ARM64Linux26.7.0File
SHA-25638d4ab7c9d98add8fd53e1ab28921df1795cb941eb92e61461b4b7fe02ac1841
x86_64Linux26.7.0File
SHA-25608a0bd7faa007aec7725ff8c4ecf3d9f5433e3cd51616560d248b50bc89be9a6

Dependencies

  • abseil
  • icu4c@78
  • lz4
  • openssl@3
  • protobuf
  • zlib-ng-compat
  • zstd

Package data

Installation data

Caveats

A "/etc/my.cnf" or "/etc/mysql/my.cnf" from another install may interfere
with a Homebrew-built server starting up correctly.

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