Last active
August 29, 2015 14:05
-
-
Save liuzhitao2000/c304250dafdc10a299dc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bash_profile | |
export PATH=$PATH:/Applications/xampp/xamppfiles/bin/ | |
install brew | |
ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)" | |
install pip | |
sudo easy_install pip | |
commend-line | |
brew install mysql-connector-c | |
pip install MySQL-python | |
python | |
con= MySQLdb.connect(host='localhost',user='root',passwd='',db='movie',unix_socket="/Applications/XAMPP/xamppfiles/var/mysql/mysql.sock") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment