UPDATE 19/9/2010: for Python 2.7 look at this post.
I have built two 64bit and two 32bit Windows distributions of theĀ MySQLdb module for Python 2.6.x for both the stableĀ 1.2.2 and the beta 1.2.3c1 versions.
It seems there were no 64bit distribution for Windows (at least for Python 2.6.x) in public and some of the 32bit ones I have tried had not been built with charset support for languages like greek or hebrew (not that I need them since the encoding I use is utf-8).
You can download the distributions from here:
MySQL-python-1.2.2.win32-py2.6.exe (1,022.8 KiB)
MySQL-python-1.2.2.win-amd64-py2.6.exe (1.0 MiB)
MySQL-python-1.2.3c1.win32-py2.6.exe (1,023.2 KiB)
MySQL-python-1.2.3c1.win-amd64-py2.6.exe (1.0 MiB)
UPDATE – Embedded binaries also available:
For the 64bit embedded versions get:
MySQL-python-embedded-1.2.2.win-amd64-py2.6.exe (261.0 KiB)
MySQL-python-embedded-1.2.3c1.win-amd64-py2.6.exe (261.4 KiB)
For the 32bit embedded versions get:
MySQL-python-embedded-1.2.2.win32-py2.6.exe (231.9 KiB)
MySQL-python-embedded-1.2.3c1.win32-py2.6.exe (232.3 KiB)
The embedded versions are linked against libmysqld.dll which must be present in the program directory (you will get a dll load fail if it isn’t there) and the share directory must also exist or else the program will crash in MySQLdb.server_init().