MySQL-python 1.2.3 for Windows and Python 2.7, 32bit and 64bit versions

Written by

in

I have added to the downloads page two distributions of the mysql-python module 1.2.3 for python 2.7

The distributions are:

  MySQL-python-1.2.3.win32-py2.7.exe (1,023.1 KiB)


  MySQL-python-1.2.3.win-amd64-py2.7.exe (1.0 MiB)

Some quick notes:

  1. The choice of 32bit and 64bit depends on the version of python you have installed in your computer and not in the operating system or the server you want to access. So if you have the 32 bit python 2.7 installed on your 64 bit Windows, you will download and install the 32 bit version.
  2. Some python distributions do not make correct registry entries when they install the 64bit python. If this is the case the 64 bit mysql-python installer will not find your python installation. This means that the 64bit python version has been wrongly set in the registry under the Wow6432Node which is under convention for 32bit software only. You will have to add/move the python registry node in the correct place i.e. in HKEY_LOCAL_MACHINE\SOFTWARE  for more info see my post in sourceforge http://bit.ly/c8J6Yr . If your python is from the official distribution (http://www.python.org)  you will not have this problem.

Following are the results  of the test suite that comes with mysql-python on the newly build distributions (I had to edit the tests in three places to replace deprecated test methods in 2.7  that were giving, for that reason, warnings and subsequently two failures in the test_MySQLdb_capabilities.py)

Comments

109 responses to “MySQL-python 1.2.3 for Windows and Python 2.7, 32bit and 64bit versions”

  1. Carola Avatar
    Carola

    Hello,
    whenever I try to install th mysql module for python 2.7 I get the message, that the (10.)exe – file does not work anymore.
    Python 2.7 is installed.
    Can anyone help me?
    (I get the same problem when switching to an older version)
    Thank you
    Carola

  2. Kenneth Voort Avatar
    Kenneth Voort

    Hi,

    Just a quick note to let you know how much time this just saved me. I just spent the better part of a day trying to get MySQLdb to compile on Windows before I came across your packages. Many thanks for the work.

    Kenneth Voort

  3. MFS Avatar
    MFS

    @Carola: you have to install it from administrator account.

  4. HFR Avatar
    HFR

    Hi,

    like the previous poster I spent quite some time trying to install MySQLdb on Win7 – without any success – before I found your packages. Many thanks for your excellent work.

    H.F.R.

  5. Yoav Shapira Avatar

    This is awesome!!! Many thanks.

  6. Rasmus Avatar
    Rasmus

    Thanks a lot!

  7. Jeff Avatar
    Jeff

    This is great; thanks a lot!

  8. James Avatar
    James

    You are a life saver. I’m a PHP programmer taking an intro to python course and I was in way over my head trying to figure all this out on my own. Thank you so much for doing this.

  9. David Avatar

    I am most grateful for your binaries, as haven’t been able to figure out how to build my own in several years. I use both the standard server version and the embedded version for different builds of my software. Will you be making a version of the embedded database for Python 2.7?

  10. Ivan Avatar

    Words cannot explain how much this has helped me today. Keep up the great work you’re doing for the (Windows) community!

  11. Kerry Avatar
    Kerry

    Thank you so much, save me a lot of time.

  12. renwofei423 Avatar
    renwofei423

    Thanks !

  13. idydenka Avatar
    idydenka

    thanks!!!!
    it’s help me too much. 😀

  14. Cd Avatar
    Cd

    I am very grateful for these builds. Thank you very much!

  15. Olddog Avatar

    Thanks a lot! It’s a week i am looking for a solution of this problem and here i found it. You are great!.
    Greetings from Italy.
    Marco

  16. David Avatar
    David

    Fantastic! Thanks for sharing.

  17. Curt Avatar
    Curt

    Wow, thank you for this! I am really liking Python and Django a lot, mostly because the people behind them seem to understand that if you take the time to write coherent documentation and make installation easy, people will choose your product over others. I feel the open source community forgets that far too often. Windows may be an inferior OS, and VB .NET may make you roll your eyes, but they are popular because Microsoft made them easy for the average person to get started with. You don’t need to run seventeen command line scripts and manually edit five config files that are only referenced in poor, out-of-date documentation to get them running. I love the open source community and it pains me that they don’t seem to get this, but you do, so thank you.

  18. kalyan Avatar
    kalyan

    Thanks a lot ! It saved lots of my time

  19. Aswin C. Avatar
    Aswin C.

    Thank You.

  20. Stephen Johnston Avatar
    Stephen Johnston

    Great Job! Real time saver!

  21. Alberto Gaona Avatar
    Alberto Gaona

    Awesome!

  22. J.P. Avatar
    J.P.

    Thank you very much, saved me several hours. 🙂

  23. Martijn Avatar
    Martijn

    Thanks a lot! Saved me a lot of effort too!!!! Got it running under Linux ofcourse without any problem, but hey, this is Windows, and one just needs help! Thanks!

  24. Djibril Avatar

    Thank’s a lot! that is helpful
    all the best

  25. Ewing Avatar
    Ewing

    Thanks!

  26. zean Avatar
    zean

    Thank you man.

    you saved me a lot of work.

    Regards,

  27. andyguo Avatar
    andyguo

    Thx so much!

  28. Dawid Avatar

    Thank you man, works great, time saver 🙂

  29. Shravan Avatar
    Shravan

    This is a godsend. Thank you so much!

  30. Vladimir Avatar

    Thank you! Nice work. I am your debtor

  31. obyelect Avatar
    obyelect

    WOOOWWW IS THAT IT i hve wasted so much time trying to work this out, thnk you so much you r a blessing 🙂

  32. dub Avatar
    dub

    Thanks! Saved me a lot of time!

  33. Ashwin Avatar
    Ashwin

    Dude !!
    Good work !

  34. Saurav Haloi Avatar
    Saurav Haloi

    Thanks a lot.

  35. Sanjit Avatar
    Sanjit

    thanks very much!

  36. Arvind Avatar
    Arvind

    thank u……….!
    🙂

  37. Luke Avatar
    Luke

    Thanks for this!

  38. Bejoo Avatar

    This is awesome !! I do not remember last time an installation was as easy as this one. Thank you 🙂

  39. Krishna Avatar
    Krishna

    THANK YOU very much !!

  40. Pawankumar Jajara Avatar

    Great Job !

    MySQL was not working with Django since 2 days and this binary saved my life.

    Hats Off Sir !

  41. pachecoj Avatar
    pachecoj

    I have been trying to get this to build in Windows for 3hrs. It is 2:19am and I just came across your binary. Why didn’t I think to search for this 3hrs ago! Thank you, worked like a charm!

  42. Arulmurugan Rajaraman Avatar
    Arulmurugan Rajaraman

    Thank u so much for the mysqldb module installer. I was searching for this for a very long time. Thanks once again.

  43. Daniel Avatar
    Daniel

    Thank you very much.
    it works ^^

  44. Roma Avatar
    Roma

    Dear sir,

    thank you very much!

    Best regards,
    Roma from Russia)

  45. rifqi Avatar
    rifqi

    thx …
    🙂

  46. Alekei Avatar
    Alekei

    Thank you!

  47. feudin Avatar
    feudin

    I have also wasted the best part of a day trying to get this done, thanks ALOT!

  48. Javatican Avatar
    Javatican

    Thanks a lot……………….

  49. david Avatar
    david

    Thanks so much!

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.