473,320 Members | 1,916 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

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 6444
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Dave Harrison | last post by:
Hi all, got a problem combinging mx and MySQLdb, when I build and install both for my Python2.1 install on a Solaris 9 box I can import mx fine, but importing MySQLdb causing python to core dump. ...
5
by: Chris Stromberger | last post by:
When issuing updates in mysql (in the console window), mysql will tell you if any rows matched and how many rows were updated (see below). I know how to get number of rows udpated using MySQLdb,...
1
by: Derek Fountain | last post by:
I was trying to use MySQLdb to connect to a database. All is OK, except I can't figure out how to get the details of an error. Suppose I try to connect to a non existant server, or with the wrong...
0
by: dw | last post by:
Pehaba, does anyone knows how to install MySQLdb on cygwin? - test device: MySQLdb 0.9.2.0 targz + cygwin 1.5.7-cr-0x9e + python 2.3.3 on cygwin + mysql 4.0.17 win32 - modified setup.py's...
1
by: Martin Bless | last post by:
I'd be happy and thankful if somebody could provide the MySQLdb binaries for Windows and Python 2.4. Have a nice day - mb - Martin Bless
1
by: Steve | last post by:
Darwin steve.local 8.3.0 Darwin Kernel Version 8.3.0: Mon Oct 3 20:04:04 PDT 2005; root:xnu-792.6.22.obj~2/RELEASE_PPC Power Macintosh powerpc MacOSX 10.4.3 mysql Ver 14.7 Distrib 4.1.14, for...
5
by: Harold Trammel | last post by:
Hi everyone, Does anyone know the status of a version of MySQLdb that will work with Python 2.5? I will accept a workaround if you know one. Thanks in advance. Harold Trammel
13
by: Steven Bethard | last post by:
Jean-Paul Calderone <exarkun@divmod.comwrote: Interesting. Could you give a few illustrations of this? (I didn't run into the same problem at all, so I'm curious.) Steve
0
by: Michael Boldin via alt email | last post by:
I installed python 2.5 and used the win package for installing MySQLdb. (Iam running Windows XP) Everything works as expected using python directly (Windows command shell) but using IDLE gives the...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.