Install Python MySQL db module?

Rick Dooling rpdooling at gmail.com
Tue May 13 20:58:59 EDT 2008


On May 13, 7:29 pm, Con <conra... at gmail.com> wrote:
> Hi, how does properly install the Python MySQL db module for Mac OS
> X?  I was only able to locate the Win32 modules.
>
> Thanks in advance,
>
> -Conrad

I tried this a couple of weeks ago using macports and had problems.

See, for example:

http://www.davidcramer.net/code/57/mysqldb-on-leopard.html

I read about several people who went in and edited the source files to
work out the bugs on Leopard, but instead I just changed my Python
code to use SQLite for the moment until someone fixes MySQLdb. There's
a nice Perl script that will convert your MySQL db to an SQLite db if
you're interested.

RD



More information about the Python-list mailing list