469,600 Members | 2,444 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,600 developers. It's quick & easy.

MySQLdb windows binaries for Python 2.5??

HI All,
Does such a beast exist? Have been looking but haven't seen any. Any
insight would be appreciated.

Thanks.

Chris

Nov 1 '06 #1
13 6234
I'm also looking for a MySQLdb binary for windows. This is holding me
from upgrading from Python 2.4 to Python 2.5 !

Or does anybody know of alternatives ? I have to connect directly to
an MySQL database.

Henk
HI All,
Does such a beast exist? Have been looking but haven't seen any. Any
insight would be appreciated.

Thanks.

Chris
Nov 11 '06 #2
He*************@gmail.com wrote:
I'm also looking for a MySQLdb binary for windows. This is holding me
from upgrading from Python 2.4 to Python 2.5 !

Or does anybody know of alternatives ? I have to connect directly to
an MySQL database.

Henk
>HI All,
Does such a beast exist? Have been looking but haven't seen any. Any
insight would be appreciated.

Thanks.

Chris
I'm just trying to build from source and am having problems getting the
right parameters for the setup.py. It seems mysql-5.0.27 for win32
doesn't have mysql-config.exe so the setup fails rather miserably.

--
Robin Becker
Nov 11 '06 #3
He*************@gmail.com wrote:
I'm also looking for a MySQLdb binary for windows. This is holding me
from upgrading from Python 2.4 to Python 2.5 !
If you search the Help Forum of the MySQLdb project on SourceForge, you
will find a couple of people who have successfully built MySQLdb on
Windows for 2.5, and are willing to share their installers.
That's how I got my binaries.

Regards,
Jan
Nov 11 '06 #4
Jan Dries wrote:
He*************@gmail.com wrote:
>I'm also looking for a MySQLdb binary for windows. This is holding me
from upgrading from Python 2.4 to Python 2.5 !

If you search the Help Forum of the MySQLdb project on SourceForge, you
will find a couple of people who have successfully built MySQLdb on
Windows for 2.5, and are willing to share their installers.
That's how I got my binaries.

Regards,
Jan
Yes, see

http://sourceforge.net/forum/forum.p...forum_id=70461

for an untested version created by a World of Warcraft guild:

http://www.guildmanus.com/uploaded/M...in32-py2.5.exe

This, apparently, is the extent of current Python support for MySQL.
Want to install that executable, as root, on your production machines?

This is embarassing for the Python community. Perl and PHP come
with MySQL support built in. Python is out to lunch on this.

John Nagle
Animats
Dec 14 '06 #5
John Nagle wrote:
Jan Dries wrote:
>He*************@gmail.com wrote:
>>I'm also looking for a MySQLdb binary for windows. This is holding me
from upgrading from Python 2.4 to Python 2.5 !

If you search the Help Forum of the MySQLdb project on SourceForge, you
will find a couple of people who have successfully built MySQLdb on
Windows for 2.5, and are willing to share their installers.
That's how I got my binaries.

Regards,
Jan

Yes, see

http://sourceforge.net/forum/forum.p...forum_id=70461

for an untested version created by a World of Warcraft guild:

http://www.guildmanus.com/uploaded/M...in32-py2.5.exe
>
This, apparently, is the extent of current Python support for MySQL.
Want to install that executable, as root, on your production machines?

This is embarassing for the Python community. Perl and PHP come
with MySQL support built in. Python is out to lunch on this.

John Nagle
Animats
I couldn't disagree more. That fact that no Database drivers are built-in
makes Python stronger - allowing Python to access any Data Engine that
supports DBI 2.0. Of course I'm not including pickle in my assessment.

Johnf
Dec 15 '06 #6

johnf wrote:
John Nagle wrote:
Jan Dries wrote:
He*************@gmail.com wrote:

I'm also looking for a MySQLdb binary for windows. This is holding me
from upgrading from Python 2.4 to Python 2.5 !
If you search the Help Forum of the MySQLdb project on SourceForge, you
will find a couple of people who have successfully built MySQLdb on
Windows for 2.5, and are willing to share their installers.
That's how I got my binaries.

Regards,
Jan
Yes, see

http://sourceforge.net/forum/forum.p...forum_id=70461

for an untested version created by a World of Warcraft guild:
http://www.guildmanus.com/uploaded/M...in32-py2.5.exe

This, apparently, is the extent of current Python support for MySQL.
Want to install that executable, as root, on your production machines?

This is embarassing for the Python community. Perl and PHP come
with MySQL support built in. Python is out to lunch on this.

John Nagle
Animats
I couldn't disagree more. That fact that no Database drivers are built-in
makes Python stronger - allowing Python to access any Data Engine that
supports DBI 2.0. Of course I'm not including pickle in my assessment.
And providing 'built-in' drivers for massively popular databases would
prevent that from being true how ?

Fuzzyman
http://www.voidspace.org.uk/index2.shtml
Johnf
Dec 15 '06 #7
Fuzzyman wrote:
johnf wrote:
>>John Nagle wrote:

>>>Jan Dries wrote:

He*************@gmail.com wrote:
>I'm also looking for a MySQLdb binary for windows. This is holding me
>from upgrading from Python 2.4 to Python 2.5 !
>

If you search the Help Forum of the MySQLdb project on SourceForge, you
will find a couple of people who have successfully built MySQLdb on
Windows for 2.5, and are willing to share their installers.
That's how I got my binaries.

Regards,
Jan

Yes, see

http://sourceforge.net/forum/forum.p...forum_id=70461

for an untested version created by a World of Warcraft guild:


http://www.guildmanus.com/uploaded/M...in32-py2.5.exe
>>>This, apparently, is the extent of current Python support for MySQL.
Want to install that executable, as root, on your production machines?

This is embarassing for the Python community. Perl and PHP come
with MySQL support built in. Python is out to lunch on this.

John Nagle
Animats

I couldn't disagree more. That fact that no Database drivers are built-in
makes Python stronger - allowing Python to access any Data Engine that
supports DBI 2.0. Of course I'm not including pickle in my assessment.


And providing 'built-in' drivers for massively popular databases would
prevent that from being true how ?

Fuzzyman
What's happened is that Python fell through the cracks here. MySQL
themselves support Java, Microsoft ".NET", PHP, and a C interface.
The Perl interface to MySQL is part of the supported Perl distribution.
But for for Python, everybody is running on glue code from one
guy on Sourceforge, and he's having problems keeping up.

Oops.

John Nagle
Dec 15 '06 #8
John Nagle wrote:
What's happened is that Python fell through the cracks here. MySQL
themselves support Java, Microsoft ".NET", PHP, and a C interface.
The Perl interface to MySQL is part of the supported Perl distribution.
But for for Python, everybody is running on glue code from one
guy on Sourceforge, and he's having problems keeping up.

Oops.

John Nagle
As a workaround, I went back to Python 2.4 on the Windows machine.
Works fine. Looks like 2.5 isn't ready for prime time yet, until
MySQLdb is fixed.

John Nagle
Animats
Dec 15 '06 #9
msj
Anyone have a binary they want to share?

/Martin

Jan 5 '07 #10
ms*@infoserv.dk wrote:
Anyone have a binary they want to share?

/Martin
Somebody has an untested one. See

http://sourceforge.net/forum/forum.p...forum_id=70461

You have to ask for a copy; they don't want to distribute it and
be blamed for problems.

There hasn't been a new release of MySQLdb since April 2006, and
there's no official support for either Python 2.5 or Windows.
Realistically, you have to run Python 2.4 or earlier if you
need database access. We dropped back to Python 2.4,
with good results.

John Nagle
Jan 5 '07 #11
On 1/5/07, John Nagle <na***@animats.comwrote:
ms*@infoserv.dk wrote:
Anyone have a binary they want to share?

/Martin
Somebody has an untested one. See

http://sourceforge.net/forum/forum.p...forum_id=70461

You have to ask for a copy; they don't want to distribute it and
be blamed for problems.

There hasn't been a new release of MySQLdb since April 2006, and
there's no official support for either Python 2.5 or Windows.
Realistically, you have to run Python 2.4 or earlier if you
need database access. We dropped back to Python 2.4,
with good results.

John Nagle
--
I guess this is your opportunity, as someone who thinks that MySQL
support for Python is important, to assist in maintaining and updating
those wrappers, right?
Jan 5 '07 #12
On 14 Dec 2006 16:59:15 -0800, Fuzzyman <fu******@gmail.comwrote:
>
johnf wrote:
>>
>If you search the Help Forum of the MySQLdb project on SourceForge, you
>will find a couple of people who have successfully built MySQLdb on
>Windows for 2.5, and are willing to share their installers.
>That's how I got my binaries.
well it seems noone has talk to Andy directly I build the one for
1.2.1_p2 for python2.4 ones it was done all I had to do is email Andy
and he posted it without problems

the biggest issue here is that building that driver in windows is a
pain, you need mysql headers, python headers and microsoft compilers a
total of around 2Gb, plus some bug I found that ended up being an
error in between the setup.py file and windows commandline.

also windows lacks the mysql-config tool which means you need to find
out a lot of flags which on *NIX are fill in automagically.

ahh did I mention you need to patch distutils to work with the "free
windows" compiler because the official windows python builds agains
the non-free MS compiler.
This, apparently, is the extent of current Python support for MySQL.
Want to install that executable, as root, on your production machines?
>
This is embarassing for the Python community. Perl and PHP come
with MySQL support built in. Python is out to lunch on this.
>
I couldn't disagree more. That fact that no Database drivers are built-in
makes Python stronger - allowing Python to access any Data Engine that
supports DBI 2.0. Of course I'm not including pickle in my assessment.
actually in this case I disagree having this driver as buildin will
take much of the pain out of any user who tries to compile this
driver, it will also help in standarizing the drivers for example in
postgre there is more then one, I think we will be better off with
just one driver, that is one DBI2.0 driver, there are some experiments
outthere which make it more "pythonic" which shouldn't be excluded.
Jan 5 '07 #13
On 1/5/07, Chris Mellon <ar*****@gmail.comwrote:
I guess this is your opportunity, as someone who thinks that MySQL
support for Python is important, to assist in maintaining and updating
those wrappers, right?
believe me I have tried and in this particular case it's very
complicated the main developer knows nothing about windows (by
choise), then you need to buy the MS compiler or patch your python,
after that you need mysql dev, and then you need to practically guess
the compiler flags.
Jan 5 '07 #14

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Dave Harrison | last post: by
5 posts views Thread by Chris Stromberger | last post: by
1 post views Thread by Derek Fountain | last post: by
reply views Thread by dw | last post: by
1 post views Thread by Martin Bless | last post: by
1 post views Thread by Steve | last post: by
5 posts views Thread by Harold Trammel | last post: by
13 posts views Thread by Steven Bethard | last post: by
reply views Thread by Michael Boldin via alt email | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.