Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #53364 > unrolled thread

Re: MySQLdb Problem

Started byChris Angelico <rosuav@gmail.com>
First post2013-09-01 01:18 +1000
Last post2013-09-01 01:18 +1000
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: MySQLdb Problem Chris Angelico <rosuav@gmail.com> - 2013-09-01 01:18 +1000

#53364 — Re: MySQLdb Problem

FromChris Angelico <rosuav@gmail.com>
Date2013-09-01 01:18 +1000
SubjectRe: MySQLdb Problem
Message-ID<mailman.414.1377962339.19984.python-list@python.org>
On Sat, Aug 31, 2013 at 6:38 PM, John Smith
<cantinaderecuerdos@yahoo.com> wrote:
> Hi;
> Since there is no list for MySQLdb, I'm hoping you can help me. I have installed, de-installed and reinstalled this s/w and MySQL itself on my Win8 box. However, when I go to use it from a script, I get the following error:
>
> "C:\Python27\lib\site-packages\MySQLdb\__init.py__", line 27 in <module>
> import _mysql
>
> ImportError: DLL load failed: %1 is not valid Win32 application.
>
> Well, I'm running Win8 which is 64-bit, but I'm pretty sure it runs 32 as well, right? Python 27, MySQL 5.5.

Do your Python and your MySQLdb match? I haven't confirmed, but I'm
pretty sure you'll have problems if you have a 32-bit Python with a
64-bit mysqldb DLL, or vice versa.

ChrisA

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web