Created
March 31, 2020 14:04
-
-
Save horaceho/73142b8cbe64f5f96cf1652c60a41dd9 to your computer and use it in GitHub Desktop.
MySQL 5.7 installation output 2020-03-01
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
| % brew install mysql@5.7 | |
| Updating Homebrew... | |
| ==> Downloading https://homebrew.bintray.com/bottles/mysql@5.7-5.7.29.catalina.bottle.tar.gz | |
| ==> Downloading from https://akamai.bintray.com/bf/bf0cdc294df996455c8abad3e03b6691f2145a4036085ad2570ec6c993e6b9c0?__gd | |
| ######################################################################## 100.0% | |
| ==> Pouring mysql@5.7-5.7.29.catalina.bottle.tar.gz | |
| ==> Caveats | |
| 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 | |
| mysql@5.7 is keg-only, which means it was not symlinked into /usr/local, | |
| because this is an alternate version of another formula. | |
| If you need to have mysql@5.7 first in your PATH run: | |
| echo 'export PATH="/usr/local/opt/mysql@5.7/bin:$PATH"' >> ~/.zshrc | |
| For compilers to find mysql@5.7 you may need to set: | |
| export LDFLAGS="-L/usr/local/opt/mysql@5.7/lib" | |
| export CPPFLAGS="-I/usr/local/opt/mysql@5.7/include" | |
| To have launchd start mysql@5.7 now and restart at login: | |
| brew services start mysql@5.7 | |
| Or, if you don't want/need a background service you can just run: | |
| /usr/local/opt/mysql@5.7/bin/mysql.server start | |
| ==> Summary | |
| 🍺 /usr/local/Cellar/mysql@5.7/5.7.29: 319 files, 232.3MB | |
| % brew services start mysql@5.7 | |
| ==> Successfully started `mysql@5.7` (label: homebrew.mxcl.mysql@5.7) | |
| Mac:~ ohho% brew services list | |
| Name Status User Plist | |
| dnsmasq started root /Library/LaunchDaemons/homebrew.mxcl.dnsmasq.plist | |
| mysql@5.7 started ohho /Users/ohho/Library/LaunchAgents/homebrew.mxcl.mysql@5.7.plist | |
| nginx started root /Library/LaunchDaemons/homebrew.mxcl.nginx.plist | |
| php started root /Library/LaunchDaemons/homebrew.mxcl.php.plist | |
| Mac:~ ohho% brew link mysql@5.7 --force | |
| Linking /usr/local/Cellar/mysql@5.7/5.7.29... 87 symlinks created | |
| If you need to have this software first in your PATH instead consider running: | |
| echo 'export PATH="/usr/local/opt/mysql@5.7/bin:$PATH"' >> ~/.zshrc | |
| % mysql --version | |
| mysql Ver 14.14 Distrib 5.7.29, for osx10.15 (x86_64) using EditLine wrapper |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment