Skip to content

Instantly share code, notes, and snippets.

@bill-evanson
Created January 10, 2015 14:39
Show Gist options
  • Select an option

  • Save bill-evanson/3be748d683a8b01f7f1f to your computer and use it in GitHub Desktop.

Select an option

Save bill-evanson/3be748d683a8b01f7f1f to your computer and use it in GitHub Desktop.

Revisions

  1. bill-evanson created this gist Jan 10, 2015.
    50 changes: 50 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,50 @@
    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?