Created
January 10, 2015 14:39
-
-
Save bill-evanson/3be748d683a8b01f7f1f to your computer and use it in GitHub Desktop.
brew install 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
| brew install mysql | |
| ==> Installing mysql dependency: openssl | |
| ==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/openssl-1.0 | |
| ######################################################################## 100.0% | |
| ==> Pouring openssl-1.0.1k.yosemite.bottle.tar.gz | |
| ==> Caveats | |
| A CA file has been bootstrapped using certificates from the system | |
| keychain. To add additional certificates, place .pem files in | |
| /usr/local/etc/openssl/certs | |
| and run | |
| /usr/local/opt/openssl/bin/c_rehash | |
| This formula is keg-only, which means it was not symlinked into /usr/local. | |
| Mac OS X already provides this software and installing another version in | |
| parallel can cause all kinds of trouble. | |
| Apple has deprecated use of OpenSSL in favor of its own TLS and crypto libraries | |
| Generally there are no consequences of this for you. If you build your | |
| own software and it requires this formula, you'll need to add to your | |
| build variables: | |
| LDFLAGS: -L/usr/local/opt/openssl/lib | |
| CPPFLAGS: -I/usr/local/opt/openssl/include | |
| ==> Summary | |
| 🍺 /usr/local/Cellar/openssl/1.0.1k: 431 files, 15M | |
| ==> Installing mysql | |
| ==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/mysql-5.6.2 | |
| ######################################################################## 100.0% | |
| ==> Pouring mysql-5.6.22.yosemite.bottle.tar.gz | |
| ==> Caveats | |
| A "/etc/my.cnf" from another install may interfere with a Homebrew-built | |
| server starting up correctly. | |
| To connect: | |
| mysql -uroot | |
| To have launchd start mysql at login: | |
| ln -sfv /usr/local/opt/mysql/*.plist ~/Library/LaunchAgents | |
| Then to load mysql now: | |
| launchctl load ~/Library/LaunchAgents/homebrew.mxcl.mysql.plist | |
| Or, if you don't want/need launchctl, you can just run: | |
| mysql.server start | |
| ==> /usr/local/Cellar/mysql/5.6.22/bin/mysql_install_db --verbose --user=wevanso | |
| ==> Summary | |
| 🍺 /usr/local/Cellar/mysql/5.6.22: 9666 files, 339M | |
| Yes Master? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment