Can you tell me which version of mysql you use in you test? On Thu, Apr 16, 2009 at 12:43 AM, Pete Wilson <p...@pwilson.net> wrote:
> > > 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=yueliangdao0...@gmail.com > > -- I'm a MySQL DBA in china. More about me just visit here: http://yueliangdao0608.cublog.cn