Discuss MySQLdb for Python 2.6 in the Python Programming forum on Dev Shed. MySQLdb for Python 2.6 Python Programming forum discussing coding techniques, tips and tricks, and Zope related information. Python was designed from the ground up to be a completely object-oriented programming language.
The ASP Free website provides in-depth information on the latest developer tools available from Microsoft. Our cadre of writers, highly experienced industry experts, reveals the best ways to use established technologies as well as new and emerging technologies. Our coverage of Microsoft's development and administration technologies is among the most respected in the IT industry today.
ASP Free and Iron Speed Designer are giving away $5,500+ in FREE licenses. Iron Speed's RAD CASE toolset can save up to 80% of your coding time. One free license per week, one perpetual license per month! Download and Activate to enter!
Intel® Graphics Performance Analyzers is a powerful tool suite for analyzing and optimizing your games, media, and graphics-intensive applications. Used by some of the best developers on the planet, Intel GPA lets you maximize your app’s performance.
Posts: 356
Time spent in forums: 2 Days 13 h 38 m 46 sec
Reputation Power: 10
I would say that though it's only supported up to 2.5, you should still be fine with it on 2.6. I've been using mysqldb 1.2.2 with python 2.6 on my ubuntu workstation for a while without any problems.
Posts: 31
Time spent in forums: 5 h 21 m 48 sec
Reputation Power: 3
I am using Windows Vista. I am bogged down because I can't even start the installation because as soon as it sees that I don't have Python2.6 it stops the installation.
is there anyway I can bypass this?
maybe manually installing it? how?
Posts: 356
Time spent in forums: 2 Days 13 h 38 m 46 sec
Reputation Power: 10
Does it give you an error of some sort when it fails to install? I admit, I'm just using the Ubuntu package for 1.2.2 here, but I'll try and download the source for the latest and install that.
OOPS: I just noticed that that is a linux egg...sorry
I also just noticed this from the README file in the source distribution:
Code:
I don't do Windows. However if someone provides me with a package for
Windows, I'll make it available. Don't ask me for help with Windows
because I can't help you.
Generally, though, running setup.py is similar to above::
C:\...> python setup.py install
C:\...> python setup.py bdist_wininst
The latter example should build a Windows installer package, if you
have the correct tools. In any event, you *must* have a C compiler.
Additionally, you have to set an environment variable (mysqlroot)
which is the path to your MySQL installation. In theory, it would be
possible to get this information out of the registry, but like I said,
I don't do Windows, but I'll accept a patch that does this.
On Windows, you will definitely have to edit site.cfg since there is
no mysql_config in the MySQL package.
Not sure if you are going to be able to use this through a standard windows install. I'm not a windows user either so I won't be a whole lot of help here after all. You could always try using this through cygwin...
Last edited by crustymonkey : August 17th, 2009 at 02:34 PM.
Posts: 8
Time spent in forums: 23 h 28 m 39 sec
Reputation Power: 0
the version for python 2.6 needs a c++ compiler to run, which is why it works fine on ubuntu.
there is a different module specifically for windows. i think it got working, but trying to get python and mysql to work together made me replace windows with linux
Posts: 2,270
Time spent in forums: 1 Month 2 Weeks 4 Days 15 h 34 m 57 sec
Reputation Power: 1734
That's pretty much it. There are no official windows binaries for Python 2.6, which is quite sad, given the popularity of MySQL. In any case, that's what you get (the exact link too).
__________________
When you ask a question, be prepared to tell us: what have you tried? If you think you don't need to try anything, we will never be interested in helping you. If you agree with the link, and you refuse to answer that question, you are being a hypocrite.
Need help with broken code? Your question should be like a good bug report: (1) It has the smallest number of steps to reproduce the problem you see (2) It tells us precisely what you expected to see and (3) It tells us what you saw and how it differed from what you expected. We need all three to help you. Want better answers? Tell us what you Googled for and what steps you took to answer your own question.