Segfault from MySQLdb

Edward C. Jones edcjones at
Mon Oct 14 21:29:13 CEST 2002

I am having all sorts of trouble with MySQL 3.23.52 and "LOAD DATA LOCAL 
INFILE". I get the well-known error message 1148: "The used command is 
not allowed with this MySQL version". In one attempt to fix this, I 
wrote the following piece of code in Python:

conn = MySQLdb.connect(passwd="xxxxxxxx",

The program segfaulted at this line.

self.conn = MySQLdb.connect(passwd=settings.PASSWORD,

also segfaults.

What is wrong?

More information about the Python-list mailing list