Created
April 30, 2024 07:44
-
-
Save timvw/122c768bff1e5702820dcf54753e5bde to your computer and use it in GitHub Desktop.
mysql
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |
To start mysql now and restart at login: | |
brew services start mysql | |
Or, if you don't want/need a background service you can just run: | |
/opt/homebrew/opt/mysql/bin/mysqld_safe --datadir\=/opt/homebrew/var/mysql | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment