FORMULAv9.7.4.1
mysql@9.7 for macOS
Open source relational database management system
Installation on macOS (Apple Silicon & Intel)
brew install mysql-9.7
Package Metadata
| Identifier | mysql-9.7 |
|---|---|
| Current Version | 9.7.4.1 |
| Tap Repository | homebrew/core |
| License | GPL-2.0-only WITH Universal-FOSS-exception-1.0 |
| Upstream Homepage | https://github.com/mysql/mysql-server |
| Last Verified | 2026-11-26T14:43:31Z |
Runtime Dependencies (8)
abseil icu4c@79 libfido2 lz4 openssl@4 protobuf zlib-ng-compat zstd
Build Dependencies (3)
Engineering 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 rootRelated macOS Packages
mysql++C++ wrapper for MySQL's C APImysql@8.4Open source relational database management systemmysql@8.0Open source relational database management systemmysqltunerIncrease performance and stability of a MySQL installationmysql-to-sqlite3Transfer data from MySQL to SQLitemysql-search-replaceDatabase search and replace script in PHPmysql-connector-c++MySQL database connector for C++ applicationsmysql-client@9.7Open source relational database management system