Re: MySQLdb on Intel Mac
This thread is very helpful!
I'm running MAMP with phpPOS, and want to work with the database from Python.
For my set-up I had already built a Python 2.4.4 from source for my Intel Mac, and had another version of MySQL with source already installed on my machine in /usr/local/ that I used to build MySQL-python 1.2.2 from source against. Then I just needed to change the startMysql.sh to add the symlink:
ln -s /Applications/MAMP/tmp/mysql/mysql.sock /tmp/mysql.sock
I've also got easy_install installed, so I removed my own build of the MySQL-python package and did:
/usr/local/python/2.4.4/bin/easy_install MySQL-python
This appears to work the MySQL that ships with MAMP as well, and is very easy to install :)
Subject
Written By
Posted
Re: MySQLdb on Intel Mac
April 06, 2007 04:21PM
September 06, 2007 05:51AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.