Hi,
I am working with openDBX to connect to a MySQL Database. If the database
server is not available or the database server went away and comes back later,
OpenDBX should reconnect to the database server. Currently I always get the
std::exception "MySQL server has gone away". How could I recog
On 09/06/2010 11:32 AM, Bernhard Suttner wrote:
> I am working with openDBX to connect to a MySQL Database. If the
> database server is not available or the database server went away and
> comes back later, OpenDBX should reconnect to the database server.
> Currently I always get the std::exception
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 ne