Skip to content

Instantly share code, notes, and snippets.

@color2life
Created December 10, 2012 12:00
Show Gist options
  • Save color2life/4250207 to your computer and use it in GitHub Desktop.
Save color2life/4250207 to your computer and use it in GitHub Desktop.
Brew install error
Whatever I try to install its give me error
$ brew install mysql
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/mysql-5.5.28.mountainlion.bottle.tar.gz
curl: (35) Unknown SSL protocol error in connection to downloads.sf.net:443
Error: Download failed: https://downloads.sf.net/project/machomebrew/Bottles/mysql-5.5.28.mountainlion.bottle.tar.gz
$ brew install jpeg
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/jpeg-8d.mountainlion.bottle.tar.gz
curl: (35) Unknown SSL protocol error in connection to downloads.sf.net:443
Error: Download failed: https://downloads.sf.net/project/machomebrew/Bottles/jpeg-8d.mountainlion.bottle.tar.gz
@color2life
Copy link
Author

Mac Lion Mountain OS X 10.8.2

@color2life
Copy link
Author

Solution:
Install wget


    $ brew install wget

then run


    $ install mysql

if it gives error manually download the file to brew cache folder
/Library/Caches/Homebrew/


    $ wget https://downloads.sf.net/project/machomebrew/Bottles/mysql-5.5.28.mountainlion.bottle.tar.gz /Library/Caches/Homebrew/

then runt he mysql install again it will load the file from cache folder.


    $ brew install mysql 

:)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment