MySQL Forums
Forum List  »  Connector/Python

Re: MySQLdb on Intel Mac
Posted by: Aidas Bendoraitis
Date: August 01, 2006 07:52AM

Thank, you Stefan, for your help. Maybe it will be useful to other people, installing MySQLdb on Intel Mac.

The way I solved the problem after more searches was this. I installed the precompiled packages Universal-MacPython-2.4.3 and MySQL_Python-1.2.1_p2 from this location: http://pythonmac.org/packages/py24-fat/.

Then I added the following line to /Applications/MAMP/bin/startMysql.sh:
ln -s /Applications/MAMP/tmp/mysql/mysql.sock /tmp/mysql.sock
It creates a mysql socket at a common location so that MySQLdb can find it.

Also I had to recompile mod_python for Apache, but this is already another story.

Hopefully, this information will be useful for somebody.

Options: ReplyQuote


Subject
Written By
Posted
August 01, 2006 01:50AM
Re: MySQLdb on Intel Mac
August 01, 2006 07:52AM
April 06, 2007 04:21PM
January 29, 2008 12:08PM
June 12, 2007 08:23AM
June 13, 2007 09:23AM
August 06, 2007 07:03AM
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.