FORMULAv26.10.0.1
mysql for macOS
Open source relational database management system
Installation on macOS (Apple Silicon & Intel)
brew install mysql
Package Metadata
| Identifier | mysql |
|---|---|
| Current Version | 26.10.0.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 (7)
abseil icu4c@79 lz4 openssl@4 protobuf zlib-ng-compat zstd
Build Dependencies (3)
Known Conflicts
mariadb, percona-server
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
mypyExperimental optional static type checker for Pythonmysql-clientOpen source relational database management systemmypaint-brushesBrushes used by MyPaint and other software using libmypaintmysql-client@8.0Open source relational database management systemmymanText-mode videogame inspired by Namco's Pac-Manmysql-client@8.4Open source relational database management systemmydumperMySQL logical backup toolmysql-client@9.7Open source relational database management system