Julien Chavanton wrote:
Quote:
Thank you, I do not find the C API mailing list in
http://lists.mysql.com/ |
There is no separate list. C API issues are handled on the main MySQL list.
Quote:
Also the same "problem" exists while using Mysql++ how shall we deal
with connection lost exactly? |
Presumably you're using 5.0, which apparently has a feature to drop idle
connections. (This question has been coming up a lot lately....) If
so, turn on the connection retry option. Search the list...it's come up
twice recently.
I don't know how the library could deal with this any better than it
already does. That's not to say that it's nice...it's just that a
network connection failure is a pretty serious thing. MySQL++ itself
doesn't have the knowledge to do anything more than just ask the C API
to retry the connection, and throwing an exception is probably
excessive. Ideas solicited.
--
MySQL++ Mailing List
For list archives: http://lists.mysql.com/plusplus
To unsubscribe: http://lists.mysql.com/plusplus?unsu...ie.nctu.edu.tw