MySQLdb windows binaries for Python 2.5??

C

Chris Seymour

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

Thanks.

Chris
 
H

Henk.van.Asselt

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
 
R

Robin Becker

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

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.
 
J

Jan Dries

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
 
J

John Nagle

Jan said:
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.php?thread_id=1571110&forum_id=70461

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

http://www.guildmanus.com/uploaded/MySQL-python.exe-1.2.2b2.win32-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
 
J

johnf

John said:
Yes, see

http://sourceforge.net/forum/forum.php?thread_id=1571110&forum_id=70461

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

http://www.guildmanus.com/uploaded/MySQL-python.exe-1.2.2b2.win32-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
 
F

Fuzzyman

johnf said:
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
 
J

John Nagle

Fuzzyman said:
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
 
J

John Nagle

John said:
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
 
J

John Nagle

Anyone have a binary they want to share?

/Martin
Somebody has an untested one. See

http://sourceforge.net/forum/forum.php?thread_id=1571110&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
 
C

Chris Mellon

Somebody has an untested one. See

http://sourceforge.net/forum/forum.php?thread_id=1571110&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?
 
J

Jorge Vargas

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.
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.
 
J

Jorge Vargas

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,432
Messages
2,571,680
Members
48,796
Latest member
Greg L.

Latest Threads

Top