15.3. Installing the Python Interface to MySQL

On the CD-ROM, you will find MySQL.pyd and windows libmySQL.dll. Copy these into some suitable location. I keep MySQL.pyd in my python\lib directory and libmySQL.dll in my python\DLLS directory.

On the CD-ROM, you will find MySQLdb-0.0.3.tar.gz. This Python interface to MySQL is the work of Andy Dustman (http://starship.python.net/crew/adustman/MySQLdb.html). Extract the contents of the archive and execute the build.py script.

Get XML Processing with Python now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.