Quote:
Originally Posted by K.K.Lv
another problem , I think you have to consider the handler of the connection, I think most of coders knowing the error code of MySql, like "CR_SERVER_GONE_ERROR(error No. is 2006)" and the "CR_SERVER_LOST(error No. is 2013)", so I suggest you that check whether the handler of the connection is valid or not before you execute the query
|
Thank you. I will remember that and I will do some tests soon.
But for now, if the MySQL remote server is nice enough, the MySQL options function with the reconnecting feature enabled should be enough.
__________________