MySQLdb "Illegal instruction" error.

Stephen shriek at gmx.co.uk
Sun Dec 23 02:13:18 EST 2001


Just installed MySQL-python-0.9.1-1py2.i386.rpm on Redhat7.2. 
It seemed to install without problem but as soon as I tried to
use it with Python, it crashed bring down the Python interpreter.

>>> import MySQLdb
>>> d = MySQLdb.connect("", "test", "", "")
Illegal instruction

I can confirm that the MySQL database 'test' can be accessed 
by anybody on localhost (as well as any other host) using the
mysql client. So, I think it must be MySQLdb on my system. 

Has everybody else had no problems whatsoever with MySQLdb RPM ?
Any guesses what could be the matter, or else I'll have to roll
back to MySQLmodule and Python1.5.2 since it's pretty urgent :(

that's assuming anybody else is still working or online at this
time of year. 

Stephen.



More information about the Python-list mailing list