Skip to content

Instantly share code, notes, and snippets.

Avatar

Samuel Dolha samueldolha

View GitHub Profile
View migrate.sh
#!/usr/bin/env sh
pip install virtualenv
virtualenv -p `which python2.7` env-mysql2pgsql
source env-mysql2pgsql/bin/activate
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