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

Last Updated on Sunday, 19 September 2010 04:58 Written by Ioannis Lalopoulos Sunday, 19 September 2010 02:27

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)



35 Comments

  1. Carola   |  Tuesday, 21 September 2010 at 13:26

    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   |  Tuesday, 21 September 2010 at 21:40

    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   |  Sunday, 03 October 2010 at 14:22

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

  4. HFR   |  Monday, 11 October 2010 at 00:06

    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   |  Tuesday, 12 October 2010 at 21:02

    This is awesome!!! Many thanks.

  6. Rasmus   |  Wednesday, 13 October 2010 at 15:21

    Thanks a lot!

  7. Jeff   |  Sunday, 31 October 2010 at 22:15

    This is great; thanks a lot!

  8. David   |  Monday, 06 December 2010 at 20:30

    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?

  9. Ivan   |  Wednesday, 08 December 2010 at 18:20

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

  10. Kerry   |  Tuesday, 14 December 2010 at 05:44

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

  11. renwofei423   |  Wednesday, 05 January 2011 at 10:18

    Thanks !

  12. idydenka   |  Monday, 17 January 2011 at 12:53

    thanks!!!!
    it’s help me too much. :D

  13. Cd   |  Tuesday, 18 January 2011 at 02:26

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

  14. Olddog   |  Sunday, 23 January 2011 at 11:19

    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

  15. David   |  Thursday, 03 March 2011 at 08:02

    Fantastic! Thanks for sharing.

  16. Curt   |  Thursday, 03 March 2011 at 16:58

    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.

  17. kalyan   |  Tuesday, 08 March 2011 at 20:30

    Thanks a lot ! It saved lots of my time

  18. Aswin C.   |  Tuesday, 08 March 2011 at 22:48

    Thank You.

  19. Stephen Johnston   |  Friday, 18 March 2011 at 08:46

    Great Job! Real time saver!

  20. Alberto Gaona   |  Saturday, 19 March 2011 at 23:08

    Awesome!

  21. J.P.   |  Saturday, 02 April 2011 at 04:36

    Thank you very much, saved me several hours. :)

  22. Martijn   |  Wednesday, 06 April 2011 at 23:03

    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!

  23. Djibril   |  Monday, 18 April 2011 at 11:04

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

  24. Ewing   |  Tuesday, 17 May 2011 at 08:13

    Thanks!

  25. zean   |  Wednesday, 18 May 2011 at 08:21

    Thank you man.

    you saved me a lot of work.

    Regards,

  26. andyguo   |  Friday, 24 June 2011 at 13:44

    Thx so much!

  27. Dawid   |  Thursday, 07 July 2011 at 01:44

    Thank you man, works great, time saver :)

  28. Shravan   |  Tuesday, 12 July 2011 at 09:32

    This is a godsend. Thank you so much!

  29. Vladimir   |  Tuesday, 12 July 2011 at 10:02

    Thank you! Nice work. I am your debtor

  30. obyelect   |  Monday, 25 July 2011 at 14:24

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

  31. dub   |  Wednesday, 03 August 2011 at 00:23

    Thanks! Saved me a lot of time!

  32. Ashwin   |  Friday, 05 August 2011 at 08:06

    Dude !!
    Good work !

  33. Saurav Haloi   |  Tuesday, 09 August 2011 at 08:20

    Thanks a lot.

  34. Sanjit   |  Thursday, 25 August 2011 at 23:40

    thanks very much!

  35. Arvind   |  Monday, 29 August 2011 at 13:10

    thank u……….!
    :)

Leave a Reply