Skip navigation links

MySQL Forums :: Connector/Python :: mysql-connector + Django


Advanced Search

Re: mysql-connector + Django
Posted by: Christopher Jakob ()
Date: December 24, 2010 05:41AM

Here is my solution.

Install the mysql-connector-c Libraries from here: http://www.mysql.de/downloads/connector/c/

Extract copy the files from the mysql-connector-c lib/ directory to /usr/lib and the include/ files into /usr/include.

Then i did the following:
sudo easy_install pip

sudo pip install cython

Finally install oursql with sudo python.setup.py install.

I also needed a backend for the usage with Django. So i installed Django-Oursql from https://github.com/dcramer/django-oursql

Works fine. :)

Regards,
Chris

Options: ReplyQuote


Subject Written By Posted
mysql-connector + Django Christopher Jakob 12/21/2010 02:53PM
Re: mysql-connector + Django Christopher Jakob 12/24/2010 05:41AM


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.