473,789 Members | 3,060 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Python2.3 and MySQLdb on Windows

Python2.3 and MySQLdb don't seem to work together on Windows. If I
understand the error message correctly, the problem seems to be that the
_mysql binary expects version 2.2 of the Python dll. Does anyone know of a
fix for this, or when a Windows version that works with 2.3 will be
available?

Thanks,
Mike
--
the Moum's (Mike, Dede, Suzanne, Jeff, Kristen)
Tipp City, Ohio, USA
e-mail: mm***@woh.rr.co m

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.500 / Virus Database: 298 - Release Date: 7/10/2003
Jul 18 '05 #1
1 2010
"Mike M" <mm***@woh.rr.c om> wrote...
Python2.3 and MySQLdb don't seem to work together on Windows. If I
understand the error message correctly, the problem seems to be that the
_mysql binary expects version 2.2 of the Python dll. Does anyone know of a
fix for this, or when a Windows version that works with 2.3 will be
available?


From SF.net support requests tracker:

"""
Date: 2003-07-30 22:01
Sender: adustman
Logged In: YES
user_id=71372

The CVS version is compatible now. I hope to have a full
release done in the next couple weeks.

Windows packages are another question entirely. I can't make
these myself, and am not really inclined to anyway. So one
will be available when someone (other than me) makes one and
lets me know about it.
"""

Windows installers for Python 2.1 and 2.2 were provided by Gerhard
Häring, let's ask him nicely to do the same for 2.3.

Cheers,

AdSR
Jul 18 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
1775
by: Stephan Diehl | last post by:
Since using Python2.3, MySQLdb doesn't work anymore correctly. Inserting data fails with "IndexError: list index out of range". Since the MySQLdb website states, that it runs up to version 2.2, I definatelly shouldn't complain :-) Is there somebody whose MySQLdb is running with 2.3? MySQLdb 0.9.2 Python 2.3 Linux
1
4145
by: Nathaniel Mallet | last post by:
I'm trying to install MySQLdb on SuSE 8.1, but the setup script complains that it can't find /usr/lib/python2.2/config/makefile. I just looked at the ActiveState distribution on Windows, the default Python install on SuSE 8.1 AND the Python 2.3 source distribution downloadable from Python.org, and none of them have any mention of that makefile. The whole config directory simply doesn't exist. The MySQLdb setup script doesn't refer to...
1
3008
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 password - how do I get a meaningful error message which I can present to my user?
0
950
by: francescomoi | last post by:
Hello. Python 2.3.4 (#1, Feb 2 2005, 12:11:53) on linux2 MySQL-python-1.2.0 I'm trying to execute this script: ---------------------- #!/usr/bin/python import MySQLdb
0
1102
by: thomas Armstrong | last post by:
Hello. Python 2.3.4 (#1, Feb 2 2005, 12:11:53) on linux2 MySQL-python-1.2.0 I'm trying to execute this script: ---------------------- #!/usr/bin/python import MySQLdb
0
2091
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 import error below. Same error with PythonWin as my IDE and everything works using python 2.4-- with IDLE and without, mySQLdb is loaded with out error. Below is the IDLEscreen capture Python 2.5 (r25:51908, Sep 19 2006, 09:52:17) on win32...
3
2875
by: Robin Becker | last post by:
I am seeing different outcomes from simple requests against a common database when run from a freebsd machine and a win32 box. The test script is ####################### import MySQLdb, sys print sys.version print MySQLdb.__version__ db=MySQLdb.connect(host='appx',db='sc_0',user='user',passwd='secret',use_unicode=True)
3
3005
by: writeson | last post by:
Hi all, At work we're using python2.3 and I'd like to start getting us moved up to python2.5. We run Centos4 which is the free, open source version of RedHat Enterprise. I've got python2.5 installed on this machine, but am stuck trying to get mysqldb installed and running on this machine. I've tried with easy_install and by building from the tar file and both return a long list of errors from a gcc compile. I'm not sure what to do next...
2
1589
by: writeson | last post by:
Hi all, I'm running a CentOS 4 server and have installed Python2.5 on there (it's our development machine) in preparation of moving to Python2.5 everywhere. All looks good with our code and 2.5, except where it comes to MySQLdb, I can't get that to install on the machine. It generates a huge lists of errors and warnings from gcc when I run the python2.5 setup.py build script that comes with the tar file. Anyone have any suggestions?
0
9665
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10408
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10139
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9983
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9020
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7529
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6768
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5417
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5551
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.