[DB-SIG] Problems with MySQL

Ryan Weisenberger ryanw@inktomi.com
Wed, 20 Dec 2000 17:17:34 -0800


I'm trying to install and use the MySQL module written by Andy 
Dustman.  I'm using version 0.3.0, with Python 2.0 and MySQL 3.23 on Redhat 
Linux 6.2.  It compiles fine, but when I try:
db1 = MySQLdb.Connect(db='test')
I get a SIGSEGV and a core dump.

Running it under gdb, I can trace it down to _mysqlmodule.c:
conn = mysql_real_connect(&(c->connection), host, user, passwd, db,
                       port, unix_socket, client_flag);

All the values look good going in, but that's where it explodes.

Has anyone encountered this or have any solutions?

Thanks,
Ryan