Installing MySQLdb via FTP?

Tim Johnson tim at akwebsoft.com
Sat Jun 9 20:30:06 CEST 2012


* Tim Johnson <tim at akwebsoft.com> [120609 07:30]:
> > 
> > http://mysql-python.hg.sourceforge.net/hgweb/mysql-python/MySQLdb-2.0/file/566baac88764/src
> > 
> > It definitely is. The C extension part is the '_mysql' module, here it
> > is /usr/lib64/python2.7/site-packages/_mysql.so. MySQLdb (of which
> > _mysql is a part) uses that to provide a DB-API 2.0 compliant API.
>   Understood. I missed that because the shared object file is in
>   another directory.
>   On mac (darwin) it is
>   /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/
    I would note that some programming languages with mysql APIs
	access the mysql client library directly from the PL's code base
	(newlisp as an example) or use TCP/IP to query the mysql server
	directly (rebol as an example)
-- 
Tim 
tim at tee jay forty nine dot com or akwebsoft dot com
http://www.akwebsoft.com



More information about the Python-list mailing list