Machomebrew install different mysql versions mac homebrew install different mysql versions homebrew
Reference: http://brew.sh/
Install
1. search for different mysql versions
$ brew versions mysqlWarning: brew-versions is unsupported and may be removed soon.Please use the homebrew-versions tap instead:https://github.com/Homebrew/homebrew-versions5.6.17 git checkout e271c21 Library/Formula/mysql.rb5.6.16 git checkout 34ad88d Library/Formula/mysql.rb5.6.15 git checkout b8a121e Library/Formula/mysql.rb5.6.14 git checkout dc5d10c Library/Formula/mysql.rb5.6.13 git checkout dcc7f40 Library/Formula/mysql.rb5.6.12 git checkout ed829a3 Library/Formula/mysql.rb5.6.10 git checkout 48f7e86 Library/Formula/mysql.rb5.5.29 git checkout 336c976 Library/Formula/mysql.rb5.5.28 git checkout 5825f62 Library/Formula/mysql.rb5.5.27 git checkout 93aecfa Library/Formula/mysql.rb5.5.25agit checkout faaa6c1 Library/Formula/mysql.rb5.5.25 git checkout 5bcd1f3 Library/Formula/mysql.rb5.5.24 git checkout a977fbd Library/Formula/mysql.rb5.5.20 git checkout f4009ef Library/Formula/mysql.rb5.5.19 git checkout c2b8e87 Library/Formula/mysql.rb5.5.15 git checkout 513c0f8 Library/Formula/mysql.rb5.5.14 git checkout a840c4a Library/Formula/mysql.rb5.5.12 git checkout 35b60ca Library/Formula/mysql.rb5.5.10 git checkout 1f2b24e Library/Formula/mysql.rb5.1.56 git checkout feae63a Library/Formula/mysql.rb5.1.55 git checkout 0476235 Library/Formula/mysql.rb5.1.54 git checkout 7077f84 Library/Formula/mysql.rb5.1.53 git checkout fbee3a0 Library/Formula/mysql.rb5.1.52 git checkout 7871a99 Library/Formula/mysql.rb5.1.51 git checkout 0fc5ce3 Library/Formula/mysql.rb5.1.49 git checkout 2e7d624 Library/Formula/mysql.rb5.1.48 git checkout 75def21 Library/Formula/mysql.rb5.1.47 git checkout 9d73887 Library/Formula/mysql.rb5.1.46 git checkout ee9ecec Library/Formula/mysql.rb5.1.45 git checkout 1ca6b6b Library/Formula/mysql.rb5.1.44 git checkout 052d1f2 Library/Formula/mysql.rb5.1.43 git checkout c4decd7 Library/Formula/mysql.rb
$ cd /usr/local/Library/Formula/$ git checkout 35b60ca mysql.rb
3. install
$ Brew install mysql # Re-checkout to master after installation
Method 2:
$ brew search mysqlautomysqlbackupmysqlmysql-clustermysql-connector-c++mysql-proxygroonga-normalizer-mysqlmysql++mysql-connector-cmysql-connector-odbcmysqlreporthomebrew/versions/mysql51 homebrew/php/php53-mysqlnd_mshomebrew/php/php55-mysqlnd_mshomebrew/versions/mysql55 homebrew/php/php54-mysqlnd_mshomebrew/php/php56-mysqlnd_ms$ brew install mysql55