View Single Post
claudiuhks
Yam Inside®™℠
Join Date: Jan 2010
Location: Living Randomly
Old 10-06-2013 , 05:40   Re: [SQL] MySQL Connector :: Remote Database (+Natives)
Reply With Quote #22

Quote:
Originally Posted by K.K.Lv View Post
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.
__________________

Last edited by claudiuhks; 10-06-2013 at 05:41.
claudiuhks is offline
Send a message via MSN to claudiuhks Send a message via Yahoo to claudiuhks Send a message via Skype™ to claudiuhks