Skip to content

Instantly share code, notes, and snippets.

@darkman66
Created October 16, 2018 10:12
Show Gist options
  • Save darkman66/defd72a435b07dac9105e4bb98580495 to your computer and use it in GitHub Desktop.
Save darkman66/defd72a435b07dac9105e4bb98580495 to your computer and use it in GitHub Desktop.
brew install mysql
brew unlink mysql
brew install mysql-connector-c
sed -i -e 's/libs="$libs -l "/libs="$libs -lmysqlclient -lssl -lcrypto"/g' /usr/local/bin/mysql_config
pip install MySQL-python
brew unlink mysql-connector-c
brew link --overwrite mysql
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment