Using HomeBrew to install MySQL
问题 I have MySQL stable 8.0.19 (bottled) installed via mac HomeBrew: brew install mysql and it asks me to follow these instructions in the Caveat section: 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 -uroot To have launchd start mysql now and restart at login: brew services start mysql Or, if you don't want/need a background service you can just