← all formulas
mysql
Open source relational database management system
- Version
- v9.6.0
- License
- GPL-2.0-only WITH Universal-FOSS-exception-1.0
- Tap
- homebrew/core
- Bottle
- available
- Revision
- 2
bottledlicense declaredhomepageactivekeg-linked
Install
shell
$ brew install mysqlCaveats
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
Aliases
mysql@9.6