473,320 Members | 1,699 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.

Will MySQLdb, the Python shim, be supported for Python 2.6 or 3.x?

MySQLdb, the Python shim for MySQL, still supports Python only to
Python 2.5. See "http://sourceforge.net/projects/mysql-python". Are there
any plans to support Python 2.6 or 3.x?

John Nagle
Nov 17 '08 #1
4 8100
John Nagle wrote:
* * *MySQLdb, the Python shim for MySQL, still supports Python onlyto
Python 2.5. *See "http://sourceforge.net/projects/mysql-python". *Arethere
any plans to support Python 2.6 or 3.x?
Are you running windows? If so, check the forums of the group above,
some nice chap has posted a 2.6 version.
Nov 17 '08 #2
Alia Khouri wrote:
John Nagle wrote:
> MySQLdb, the Python shim for MySQL, still supports Python only to
Python 2.5. See "http://sourceforge.net/projects/mysql-python". Are there
any plans to support Python 2.6 or 3.x?

Are you running windows? If so, check the forums of the group above,
some nice chap has posted a 2.6 version.
Some reports indicate it doesn't work. See

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

Whoever did the port somehow created a dependency on the
Intel math library, "libguide40.dll" and "libmmd.dll". That shouldn't
be needed in the MySQL Python shim. It's not freely distributable,
either; you have to buy the Intel C++ compiler to get it. There are
versions of those DLLs available on the web, but they may or may not
be legitimate or current.

John Nagle
Nov 18 '08 #3
John Nagle wrote:
* * Whoever did the port somehow created a dependency on the
Intel math library, "libguide40.dll" and "libmmd.dll". *That shouldn't
be needed in the MySQL Python shim. *It's not freely distributable,
either; you have to buy the Intel C++ compiler to get it. *There are
versions of those DLLs available on the web, but they may or may not
be legitimate or current.
I'm aware of that, as I went through the same process, actually
discovered that dependency myself, and ended up having to use dlls off
the net. Eventhough I got this to work in the end, I ultimately found
that this isn't the only extension lib with 'issues', in 2.6 (numpy,
etc..) I finally ditched 2.6 for my app and reverted back to 2.5. My
recommendation is to do the same until things improve in extension
land.

AK
Nov 19 '08 #4
Alia Khouri wrote:
>>John Nagle wrote:
Whoever did the port somehow created a dependency on the
Intel math library, "libguide40.dll" and "libmmd.dll". That shouldn't
be needed in the MySQL Python shim. It's not freely distributable,
either; you have to buy the Intel C++ compiler to get it. There are
versions of those DLLs available on the web, but they may or may not
be legitimate or current.

I'm aware of that, as I went through the same process, actually
discovered that dependency myself, and ended up having to use dlls off
the net. Eventhough I got this to work in the end, I ultimately found
that this isn't the only extension lib with 'issues', in 2.6 (numpy,
etc..) I finally ditched 2.6 for my app and reverted back to 2.5. My
recommendation is to do the same until things improve in extension
land.
It's a weird dependency, too. Extensions usually have to be built
with the same compiler as the Python core. If someone built this extension with
the Intel C++ compiler for x86 (why else would it need "libguide40.dll" and
"libmmd.dll"), there may be mixed-library compatibility problems.

John Nagle
Nov 19 '08 #5

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. ...
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...
2
by: Tim Williams | last post by:
I'm trying to write a simple python program to access a MySQL database. I'm having a problem with using MySQLdb to get the results of a SQL command in a cursor. Sometimes the cursor.execute works,...
21
by: John Fabiani | last post by:
Hi, I'm a newbie and I'm attempting to learn howto create a select statement. When I use >>> string1='18 Tadlock Place' >>> cursor.execute("SELECT * FROM mytest where address = %s",string1) All...
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...
1
by: Yi Xing | last post by:
I log into the machine remotely. How do I check the Mac OSX version number under command line? Thanks. hiaips rosedb0 at gmail.com Wed Aug 16 01:23:10 CEST 2006 * Previous message: MySQLdb...
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
8
by: martinnorth | last post by:
Hi, I am running Python and MySQL on Ubuntu and have installed MySQLdb. If I try to import MySQLdb I get the following error: ActivePython 2.5.2.2 (ActiveState Software Inc.) based on Python...
0
by: Christian Heimes | last post by:
Andreas Kalsch wrote: Use Python 2.5 if you don't want any trouble. It's going to take several months to years until most libraries support Python 3.0. Christian
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: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
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: 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...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
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
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.