MySQL-python distribution for Windows and Python 2.5 x64

Last Updated on Sunday, 3 May 2009 01:06 Written by Ioannis Lalopoulos Saturday, 2 May 2009 11:48

After a request in MySQL-python’s forums I decided to make a 64 bit build for Python 2.5 also. After all I started the whole chain of builds due to my own needs for a MySQLdb which works with python 2.6 x64.

You can download the build from here: (862.5 KiB)

Take notice that you will also need libmysql.dll (included in the distribution) since this module is dynamically linked to it.  Instructions for the faint of heart are included in the readme.txt

I’ll prepare a similar distribution for Python 2.5 x64 and MySQL-python 1.2.3c1 if I find the time.

For Python 2.6 distributions see this post MySQL-python Windows 64bit and 32bit distributions.


  1. Sebastian   |  Wednesday, 10 June 2009 at 13:37


    Thanks for the builds! I am actually interested in how you made the 2.5 amd64 builds. I have vs 2003 and the platform sdk installed but running the standard “python.exe bdist_wininst” from the source folder in the vs 2003 Command Prompt won’t work. Can you help me out there? (Never did a 64bit build before)

    Thanks Sebastian

  2. Ioannis Lalopoulos   |  Friday, 12 June 2009 at 14:05

    Sebastian I will gladly make a post on the specifics of the build procedure as soon as I find the time to go through my development VMs and notes. Since these days we are finishing with the release candidate of our main product time is scarce.

    Visit again in a week or so, maybe I will have something up.

  3. Sebastian   |  Friday, 12 June 2009 at 22:42

    Great! I’ll wait patiently. Nothing to hurry. Thanks!

  4. MySQL-python distribution for Windows and Python 2.5 x64 | Python Developer India   |  Friday, 10 July 2009 at 18:25

    […] Read the original post: MySQL-python distribution for Windows and Python 2.5 x64 […]

  5. Sebastian   |  Tuesday, 14 July 2009 at 11:21

    Hop you didn’t forget me 😉

  6. TxRx   |  Tuesday, 17 November 2009 at 17:21

    You are an absolute star!!
    Nice one!

  7. Kim   |  Friday, 19 February 2010 at 18:43

    Been tearing my hair out trying to build MySQLdb without VS2003, so this is fantastic — almost. I need to use Python 2.5 — any chance at an old binary floating around?

  8. pedromagnus   |  Sunday, 09 May 2010 at 08:43

    Great. It works at the first try. I have python2.5 in win7 64 bits. In the registry I don´t even have the “Python” directory in “HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Python” and worked great spite of this. Tks.

  9. John Crawford   |  Thursday, 26 August 2010 at 18:53

    Minor note – the initial splash screen says this is for Python versions 2.3 – 2.5. Since the filesize is larger than MySQL-python-1.2.2.win32-py2.5.exe (which I got from Sourceforge, but I’m now guessing you built 🙂 so I presume it is a later file, and you just didn’t update the one line of docs – correct?

  10. Ronny   |  Wednesday, 08 June 2011 at 20:36

    thanks for your work,
    i have ActivePython- on win7 machine,
    after long search, even on your site i saw the python mysql stuff for python 2.6….
    and after a journey i came back to you… now i got what i have searched
    thanks it works

Leave a Reply