On 3/21/2011 9:50 PM, Bill Arnold wrote:
> Mike,
>
>> Bill et al,
>>
>> I noticed my MySQL remote databases timing out and just
>> re-engineered my GetHandle routine to verify that it's a good, active
> connection
>> (otherwise get a new one):
>
> Thanks for the sample code. When I'm working in the area again I'll take a
> closer look to see what I can learn from it.
>
> The ongoing - but now very occasional/rare - problem I get is losing the
> connection at some point later in the session due to a timeout. The message
> is like "MySQL server has gone away". I've gotten some relief from this
> problem by triggering activity on the server side every few seconds (timer
> pop), and now it rarely happens, but we don't connect for extended periods
> anyway. So far, it's only used for a few internal applications.
This is what I experienced ("gone away"). No problem now that I put my
code in place.
--
Mike Babcock, MCP
MB Software Solutions, LLC
President, Chief Software Architect
http://mbsoftwaresolutions.com
http://fabmate.com
http://twitter.com/mbabcock16
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message:
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the
author, and do not constitute legal or medical advice. This statement is added
to the messages for those lawyers who are too stupid to see the obvious.