çµè«
ããã¿ã«brew upgradeããã®ã¯å±éº
æ¦è¦
ä¸ç¨æã«brew upgradeãã¦mysqlã5.5ãã5.6ã«ä¸ãã¦ãã¾ã£ãã®ã§æ»ããæã®ã¡ã¢ã
æé
ãã¼ã¸ã§ã³ç¢ºèª
$ mysql --version mysql Ver 14.14 Distrib 5.6.10, for osx10.7 (x86_64) using EditLine wrapper $ ls -l /usr/local/bin/mysql* lrwxr-xr-x 1 sueyoshi_go admin 32 2 25 11:50 /usr/local/bin/mysql -> ../Cellar/mysql/5.6.10/bin/mysql lrwxr-xr-x 1 sueyoshi_go admin 39 2 25 11:50 /usr/local/bin/mysql.server -> ../Cellar/mysql/5.6.10/bin/mysql.server lrwxr-xr-x 1 sueyoshi_go admin 44 2 25 11:50 /usr/local/bin/mysql_client_test -> ../Cellar/mysql/5.6.10/bin/mysql_client_test lrwxr-xr-x 1 sueyoshi_go admin 53 2 25 11:50 /usr/local/bin/mysql_client_test_embedded -> ../Cellar/mysql/5.6.10/bin/mysql_client_test_embedded
ã¤ã³ã¹ãã¼ã«ããã¦ããã¼ã¸ã§ã³ã®ç¢ºèª
$ brew versions mysql 5.6.10 git checkout d28e5d5 /usr/local/Library/Formula/mysql.rb 5.5.29 git checkout 336c976 /usr/local/Library/Formula/mysql.rb 5.5.28 git checkout 5825f62 /usr/local/Library/Formula/mysql.rb 5.5.27 git checkout 93aecfa /usr/local/Library/Formula/mysql.rb 5.5.25a git checkout faaa6c1 /usr/local/Library/Formula/mysql.rb 5.5.25 git checkout 5bcd1f3 /usr/local/Library/Formula/mysql.rb 5.5.24 git checkout a977fbd /usr/local/Library/Formula/mysql.rb
æå®ãããã¼ã¸ã§ã³ã«æ»ã
ä»åã®å ´å5.5.28ã«æ»ãããã£ãã®ã§
cd /usr/local/ git checkout 5825f62 /usr/local/Library/Formula/mysql.rb
æ¢ã«ãã¼ã«ã«ã«å ¥ã£ã¦ãã®ã§ããã¯ããã§æ£å¸¸
$ brew upgrade mysql Error: mysql-5.5.28 already installed
ãªã³ã¯ãè²¼ãç´ã
5.6.10ã®ãããã®ã§ä¸åº¦æ¶ãå¿ è¦ãããããã
$ brew link mysql Warning: Already linked: /usr/local/Cellar/mysql/5.6.10 To relink: brew unlink mysql && brew link mysql
æ¶ãã¦ä½ã
$ brew unlink mysql && brew link mysql Unlinking /usr/local/Cellar/mysql/5.6.10... 147 links removed Linking /usr/local/Cellar/mysql/5.5.28... 135 symlinks created
å度ãã¼ã¸ã§ã³ç¢ºèª
$ mysql --version mysql Ver 14.14 Distrib 5.5.28, for osx10.7 (i386) using readline 5.1 $ ls -l /usr/local/bin/mysql* lrwxr-xr-x 1 sueyoshi_go admin 32 2 25 16:20 /usr/local/bin/mysql -> ../Cellar/mysql/5.5.28/bin/mysql lrwxr-xr-x 1 sueyoshi_go admin 39 2 25 16:20 /usr/local/bin/mysql.server -> ../Cellar/mysql/5.5.28/bin/mysql.server lrwxr-xr-x 1 sueyoshi_go admin 44 2 25 16:20 /usr/local/bin/mysql_client_test -> ../Cellar/mysql/5.5.28/bin/mysql_client_test lrwxr-xr-x 1 sueyoshi_go admin 39 2 25 16:20 /usr/local/bin/mysql_config -> ../Cellar/mysql/5.5.28/bin/mysql_config lrwxr-xr-x 1 sueyoshi_go admin 53 2 25 16:20 /usr/local/bin/mysql_convert_table_format -> ../Cellar/mysql/5.5.28/bin/mysql_convert_table_format
æ»ï½¯ï¾ââââ(ï¾âï¾)ââââ!!
åèã«ãããµã¤ã
大äºãªãã¨ãªã®ã§ããä¸åº¦
ããã¿ã«brew upgradeããã®ã¯å±éº