[Tutor] MySQLdb install issue

Eric Brunson brunson at brunson.com
Tue Jan 15 18:10:02 CET 2008


There is at least on client library that the mysql package needs to link 
against.  You either need to install the libraries on the client machine 
or else build the package statically linked on the server machine and 
move it over prebuilt.

John wrote:
> Hello,
>  
> Does anyone know how to install MySQLdb into a python installation 
> when the machine you are working on does not have MySQL installed? 
> I.E. the MySQL installation is on a different server, but the site.cfg 
> file for the MySQLdb installation asks for the location of the 
> mysql_config:
>  
>  
> "
> # The path to mysql_config.
> # Only use this if mysql_config is not on your PATH, or you have some 
> weird
> # setup that requires it.
> #mysql_config = /usr/local/bin/mysql_config
>  
> "
>  
> Thanks!
>
> -- 
> Configuration
> ``````````````````````````
> Plone 2.5.3-final,
> CMF-1.6.4,
> Zope (Zope 2.9.7-final, python 2.4.4, linux2),
> Five 1.4.1,
> Python 2.4.4 (#1, Jul 3 2007, 22:58:17) [GCC 4.1.1 20070105 (Red Hat 
> 4.1.1-51)],
> PIL 1.1.6
> ------------------------------------------------------------------------
>
> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> http://mail.python.org/mailman/listinfo/tutor
>   



More information about the Tutor mailing list