MySQL Lists are EOL. Please join:

List:General Discussion« Previous MessageNext Message »
From:Moon's Father Date:April 17 2009 2:26am
Subject:Re: Error msg: MySQL server has gone away
View as plain text  
Can you tell me which version of mysql you use in you test?

On Thu, Apr 16, 2009 at 12:43 AM, Pete Wilson <pete@stripped> 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\", \"pete@stripped\");" );
>
> 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=1
>
>


-- 
I'm a MySQL DBA in china.
More about me just visit here:
http://yueliangdao0608.cublog.cn

Thread
Error msg: MySQL server has gone awayPete Wilson15 Apr
  • Re: Error msg: MySQL server has gone awayMoon's Father17 Apr