Hi, 

thanks for your answer.
> MySQL allows to reconnect to the database server in principle, but it's 
> not used in the OpenDBX library because it's specific to that database 
> and you shouldn't rely on this. The right way to reconnect after 
> catching such an exception would be to create a new Conn instance and 
> call setOption() and bind() with the parameter from the configuration.

The problem which I have is, that I only get a std:exception and not a OpenDBX 
specific exception which can be handled different to other exceptions which are 
thrown from OpenDBX / MySQL driver. 

Is it maybe possible to set the reconnect parameter somehow from the OpenDBX 
interface?


Best regards,
Bernhard

------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
libopendbx-devel mailing list
libopendbx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libopendbx-devel
http://www.linuxnetworks.de/doc/index.php/OpenDBX

Reply via email to