Installing MySQLdb via FTP?

Corey Richardson corey at octayn.net
Fri Jun 8 15:36:00 EDT 2012


On Fri, 8 Jun 2012 09:55:23 -0800
Tim Johnson <tim at akwebsoft.com> <tim at akwebsoft.com> wrote:

>   See the thread titled "Python libraries portable?" you will note
>   that Corey Richardson makes the statement that MySQLdb is a C
>   extension. I accepted that statement, but upon looking at the
>   directories (I am on Mac Lion, but believe it may be the same for
>   Linux) I see no binaries, just straight .py and .pyc files.
> 

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.

>   *However* as it often turns out, I was barking up the wrong tree.
>

(I haven't followed this thread at all besides noticing this message)

-- 
Corey Richardson



More information about the Python-list mailing list