MySQL Forums
Forum List  »  Connector/Python

Re: MySQL, Python and MacOS X 10.6 (Snow Leopard)
Posted by: Paul Morel
Date: September 23, 2009 01:05PM

This solution was the winner. After nearly three days of trying to get this combination working the solution provided above seems to work...with a small catch.

Once you run the build command you are going to get an error complaining about the mysql_config file. You need to edit the setup_posix.py file. Change line 26 from:
mysql_config.path = "mysql_config"

to:
mysql_config.path = "/usr/local/mysql-5.1.39-osx10.5-x86_64/bin/mysql_config"

Now try the /user/bin/python setup.py build command again. It should build this time. Now you can follow the rest of the steps.

Options: ReplyQuote


Subject
Written By
Posted
Re: MySQL, Python and MacOS X 10.6 (Snow Leopard)
September 23, 2009 01:05PM


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.