Re: C api: core dump on mysql_real_connect

2004-02-26 Thread Cliff Addy
On Wed, 25 Feb 2004, Sasha Pachev wrote: > > > > where dbh is a global MYSQL structure. This code works fine on the old > > system. If I pull it out into it's own little test program on the new > > server, it also works fine. But when I put it in with the analog source > > code, it compiles fi

C api: core dump on mysql_real_connect

2004-02-24 Thread Cliff Addy
I've got on that really has me stumped ... I've modified tha analog web stats program before to use a mysql database before and I'm trying to do it again on a new system. I have this function: void db_connect(){ printf("start connect\n"); mysql_init(&dbh); if (!mysql_real_connect(&dbh,"