Re: MySQL C API - Lost connection?

2001-11-25 Thread Benjamin Charles Tehan
The MySQL server is localhost. As for checking if the query was successful or not, this was the check, and that was the result of the failure. if (mysql_query(&mysql,sqlcmd)) logger("[sql] %s\n%s \n\n",sqlcmd,mysql_error(&mysql)); sqlcmd is the query If the query fails logger() is executed w

Re: MySQL C API - Lost connection?

2001-11-25 Thread David Bouw
fell away.. Regards, David - Original Message - From: "Benjamin Charles Tehan" <[EMAIL PROTECTED]> To: "mysql" <[EMAIL PROTECTED]> Sent: Sunday, November 25, 2001 02:23 Subject: MySQL C API - Lost connection? > I'm using MySQL 3.23.43 running on

MySQL C API - Lost connection?

2001-11-25 Thread Benjamin Charles Tehan
I'm using MySQL 3.23.43 running on Linux with a 2.2.16 kernel. My software does around 50,000 inserts a day and from some of those inserts they result in: Lost connection to MySQL server during query The software is developed in C, using the mysql C api to talk to the database. Problem is.. on