Hi folks --

New to MySQL. I'm developing C-language connector software and, while 
debugging, I often get the error message "MySQL server has gone away" if, say, 
I've stopped at a breakpoint and then issued a call that resembles:

mysql_query(pmysql, 
 "insert into usrs(usr,email) values(\"pete\", \"p...@pwilson.net\");" );

I can imagine this happening when the connector is running in real life. So:

What is the correct and reasonable way for a running connector to deal with 
this error intelligently?

Thanks!

-- Pete Wilson    
   http://www.pwilson.net/


      

-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/mysql?unsub=arch...@jab.org

Reply via email to