Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #53364
| References | <1377938282.78528.YahooMailBasic@web194904.mail.sg3.yahoo.com> |
|---|---|
| Date | 2013-09-01 01:18 +1000 |
| Subject | Re: MySQLdb Problem |
| From | Chris Angelico <rosuav@gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.414.1377962339.19984.python-list@python.org> (permalink) |
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
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: MySQLdb Problem Chris Angelico <rosuav@gmail.com> - 2013-09-01 01:18 +1000
csiph-web