[DB-SIG] Problems with MySQL

M.-A. Lemburg mal@lemburg.com
Thu, 21 Dec 2000 12:20:13 +0100

Ryan Weisenberger wrote:
> 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?

Is the MySQL version you are using compatible with the MySQLdb
version ? Are both compiled using the same compiler ?

MySQL is a complete mess when it comes to finding working combinations
of server, client libs and third party tools which actually work
as advertised...

Marc-Andre Lemburg
Company:                                        http://www.egenix.com/
Consulting:                                    http://www.lemburg.com/
Python Pages:                           http://www.lemburg.com/python/