On Tue, Mar 10, 2009 at 4:42 AM, casibbald <[email protected]> wrote:
>
> Downloaded MySQL DB from here. 
> http://sourceforge.net/project/showfiles.php?group_id=22307
>
> Only version 1.2.2 works, the others give you so many issues.
>
> Then,
>
> # tar -xvzf MySQL-python-1.2.2.tar.gz
>
> # cd MySQL-python-1.2.2/
>
> you then need to set the location of the file mysql_config in your
> LD_LIBRARY path, make sure that the location below reflects your
> version of linux/ubuntu or what ever your doing this on.
> # export LD_LIBRARY_PATH=/usr/local/mysql/lib:$LD_LIBRARY_PATH
>
> # python setup.py build
>
> # sudo python setup.py install
>
> You should get a result like this:
> --> Installed /usr/lib/python2.5/site-packages/MySQL_python-1.2.2-
> py2.5-linux-x86_64.egg
> --> Processing dependencies for MySQL-python==1.2.2
>
> On my system I still could not find mysql_config, and eventually
> discovered that on ubuntu it comes in a seperate lib package called
> libmysqlclient15-dev.
>
> # sudo apt-get install libmysqlclient15-dev



apt-get install python-mysqldb

did not work?

Lucas

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to