Search the web
Sign In
New User? Sign Up
iglance
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
MySQL 5 oddities?   Message List  
Reply | Forward Message #108 of 133 |
RE: [iglance] MySQL 5 oddities?

Ah, good idea.  I’ll check that, thanks.

 


From: iglance@yahoogroups.com [mailto:iglance@yahoogroups.com] On Behalf Of Peter Pan
Sent: Monday, October 23, 2006 4:08 PM
To: iglance@yahoogroups.com
Subject: Re: [iglance] MySQL 5 oddities?

 

IMO, it is harmless to retry/reconnect/failover when an error such like 

 

  CR_SERVER_LOST

  CR_SERVER_GONE_ERROR

  CR_SERVER_HANDSHAKE_ERR

 

occurred to mysql_store_result().

 

Peter

----- Original Message -----

Sent: Monday, October 23, 2006 1:41 PM

Subject: [iglance] MySQL 5 oddities?

 

So the iGlance server suffered a motherboard failure, thus triggering a big upgrade of hardware and software alike.  One change to the system is now we’re using MySQL 5, and something strange is afoot. 

Basically, the connection between the iGlance server and MySQL just stops working on occasion.  No other changes to the code, and it works great for hours or even days, and then spontaneously stops working.  The server in this state is still “working” fine in that it is processing and responding messages, but anything involving the database fails to work.  Restart the server without touching MySQL at all, and it works fine for another day or so.

Any ideas?  Is there some kind of age or query limit on a connection, thus requiring an occasional reconnect?

-david



Tue Oct 24, 2006 12:26 am

quinthar
Offline Offline
Send Email Send Email

Forward
Message #108 of 133 |
Expand Messages Author Sort by Date

So the iGlance server suffered a motherboard failure, thus triggering a big upgrade of hardware and software alike. One change to the system is now we're...
David Barrett
quinthar
Offline Send Email
Oct 23, 2006
8:44 pm

IMO, it is harmless to retry/reconnect/failover when an error such like CR_SERVER_LOST CR_SERVER_GONE_ERROR CR_SERVER_HANDSHAKE_ERR occurred to...
Peter Pan
gonoyapi
Offline Send Email
Oct 24, 2006
12:08 am

Ah, good idea. I'll check that, thanks. _____ From: iglance@yahoogroups.com [mailto:iglance@yahoogroups.com] On Behalf Of Peter Pan Sent: Monday, October 23,...
David Barrett
quinthar
Offline Send Email
Oct 24, 2006
12:33 am

This way maybe you will also find MySQL replication and failover a fun. ... From: David Barrett To: iglance@yahoogroups.com Sent: Monday, October 23, 2006 5:26...
Peter Pan
gonoyapi
Offline Send Email
Oct 24, 2006
6:36 pm

Incidentally, I finally resolved the server problem - as Peter suggested, it was just a matter of reconnecting to the MySQL database on occasion. Not sure why...
David Barrett
quinthar
Offline Send Email
Nov 13, 2006
10:03 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help